net.minecraft.client.gui.screens.social

public class PlayerEntry

extends ContainerObjectSelectionList$Entry<PlayerEntry>

All mapped superinterfaces:

GuiEventListener, TabOrderedElement, LayoutElement, ContainerEventHandler

gwd
net.minecraft.client.gui.screens.social.PlayerEntry
net.minecraft.class_5519
net.minecraft.client.gui.screen.multiplayer.SocialInteractionsPlayerListEntry

Field summary

Modifier and TypeField
private static final Identifier
f
DRAFT_REPORT_SPRITE
field_45560
DRAFT_REPORT_ICON_TEXTURE
private static final Duration
g
TOOLTIP_DELAY
field_32418
TOOLTIP_DELAY
private static final WidgetSprites
i
REPORT_BUTTON_SPRITES
field_45561
REPORT_BUTTON_TEXTURES
private static final WidgetSprites
j
MUTE_BUTTON_SPRITES
field_45562
MUTE_BUTTON_TEXTURES
private static final WidgetSprites
k
UNMUTE_BUTTON_SPRITES
field_45563
UNMUTE_BUTTON_TEXTURES
private final Minecraft
l
minecraft
field_26854
client
private final List<AbstractWidget>
m
children
field_26855
buttons
private final UUID
n
id
field_26856
uuid
private final String
o
playerName
field_26857
name
private final Supplier<PlayerSkin>
p
skinGetter
field_26904
skinSupplier
private boolean
q
isRemoved
field_26859
offline
private boolean
r
hasRecentMessages
field_39790
sentMessage
private final boolean
s
reportingEnabled
field_39791
canSendReports
private boolean
t
hasDraftReport
field_40796
hasDraftReport
private final boolean
u
chatReportable
field_39937
reportable
private Button
v
hideButton
field_26860
hideButton
private Button
w
showButton
field_26861
showButton
private Button
x
reportButton
field_39622
reportButton
private float
y
tooltipHoverTime
field_26864
timeCounter
private static final Component
z
HIDDEN
field_26905
HIDDEN_TEXT
private static final Component
A
BLOCKED
field_26906
BLOCKED_TEXT
private static final Component
B
OFFLINE
field_26907
OFFLINE_TEXT
private static final Component
C
HIDDEN_OFFLINE
field_26908
HIDDEN_OFFLINE_TEXT
private static final Component
D
BLOCKED_OFFLINE
field_26909
BLOCKED_OFFLINE_TEXT
private static final Component
E
REPORT_DISABLED_TOOLTIP
field_39736
REPORT_DISABLED_TEXT
private static final Component
F
HIDE_TEXT_TOOLTIP
field_33837
HIDE_TEXT
private static final Component
G
SHOW_TEXT_TOOLTIP
field_33838
SHOW_TEXT
private static final Component
H
REPORT_PLAYER_TOOLTIP
field_39623
REPORT_TEXT
private static final int
I
SKIN_SIZE
field_32420
field_32420
private static final int
J
PADDING
field_32421
field_32421
public static final int
a
SKIN_SHADE
field_26850
BLACK_COLOR
private static final int
K
CHAT_TOGGLE_ICON_SIZE
field_32422
field_32422
public static final int
b
BG_FILL
field_26851
GRAY_COLOR
public static final int
c
BG_FILL_REMOVED
field_26852
DARK_GRAY_COLOR
public static final int
d
PLAYERNAME_COLOR
field_26853
WHITE_COLOR
public static final int
e
PLAYER_STATUS_COLOR
field_26903
LIGHT_GRAY_COLOR

Constructor summary

ModifierConstructor
public (Minecraft client, SocialInteractionsScreen parent, UUID uuid, String name, Supplier<PlayerSkin> skinTexture, boolean reportable)

Method summary

Modifier and TypeMethod
public void
a(hfk arg0)
refreshHasDraftReport(ReportingContext arg0)
method_71087(class_7574 arg0)
updateHasDraftReport(AbuseReportContext context)
private Tooltip
y()
createReportButtonTooltip()
method_47634()
getReportButtonTooltip()
public void
a(ghi arg0, int arg1, int arg2, boolean arg3, float arg4)
renderContent(GuiGraphics arg0, int arg1, int arg2, boolean arg3, float arg4)
method_25343(class_332 arg0, int arg1, int arg2, boolean arg3, float arg4)
render(DrawContext arg0, int arg1, int arg2, boolean arg3, float arg4)
public List<? extends GuiEventListener>
aI_()
children()
method_25396()
children()
public List<? extends NarratableEntry>
b()
narratables()
method_37025()
selectableChildren()
public String
c()
getPlayerName()
method_31330()
getName()
public UUID
t()
getPlayerId()
method_31334()
getUuid()
public Supplier<PlayerSkin>
u()
getSkinGetter()
method_53594()
getSkinSupplier()
public void
c(boolean arg0)
setRemoved(boolean arg0)
method_31335(boolean arg0)
setOffline(boolean offline)
public boolean
v()
isRemoved()
method_44754()
isOffline()
public void
d(boolean arg0)
setHasRecentMessages(boolean arg0)
method_44753(boolean arg0)
setSentMessage(boolean sentMessage)
public boolean
w()
hasRecentMessages()
method_44756()
hasSentMessage()
public boolean
x()
isChatReportable()
method_53595()
isReportable()
private void
a(boolean arg0, yh arg1)
onHiddenOrShown(boolean arg0, Component arg1)
method_31329(boolean arg0, class_2561 arg1)
onButtonClick(boolean showButtonVisible, Text chatMessage)
private void
e(boolean arg0)
updateHideAndShowButton(boolean arg0)
method_47905(boolean arg0)
setShowButtonVisible(boolean showButtonVisible)
MutableComponent
a(yw arg0)
getEntryNarationMessage(MutableComponent arg0)
method_31389(class_5250 arg0)
getNarrationMessage(MutableText text)
private Component
z()
getStatusComponent()
method_31390()
getStatusText()