net.minecraft.client.gui.screens.social

public class PlayerEntry

extends ContainerObjectSelectionList$Entry<PlayerEntry>

All mapped superinterfaces:

GuiEventListener, TabOrderedElement, ContainerEventHandler

frl
net.minecraft.client.gui.screens.social.PlayerEntry
net.minecraft.class_5519
net.minecraft.client.gui.screen.multiplayer.SocialInteractionsPlayerListEntry
net.minecraft.src.C_3727_

Field summary

Modifier and TypeField
private static final ResourceLocation
f
DRAFT_REPORT_SPRITE
field_45560
DRAFT_REPORT_ICON_TEXTURE
f_290813_
private static final Duration
g
TOOLTIP_DELAY
field_32418
TOOLTIP_DELAY
f_170065_
private static final WidgetSprites
h
REPORT_BUTTON_SPRITES
field_45561
REPORT_BUTTON_TEXTURES
f_291144_
private static final WidgetSprites
i
MUTE_BUTTON_SPRITES
field_45562
MUTE_BUTTON_TEXTURES
f_290914_
private static final WidgetSprites
j
UNMUTE_BUTTON_SPRITES
field_45563
UNMUTE_BUTTON_TEXTURES
f_290432_
private final Minecraft
k
minecraft
field_26854
client
f_100534_
private final List<AbstractWidget>
l
children
field_26855
buttons
f_100535_
private final UUID
m
id
field_26856
uuid
f_100536_
private final String
n
playerName
field_26857
name
f_100537_
private final Supplier<PlayerSkin>
o
skinGetter
field_26904
skinSupplier
f_100538_
private boolean
p
isRemoved
field_26859
offline
f_100539_
private boolean
q
hasRecentMessages
field_39790
sentMessage
f_240676_
private final boolean
r
reportingEnabled
field_39791
canSendReports
f_240670_
private final boolean
s
hasDraftReport
field_40796
hasDraftReport
f_252399_
private final boolean
u
chatReportable
field_39937
reportable
f_290377_
private Button
v
hideButton
field_26860
hideButton
f_100540_
private Button
w
showButton
field_26861
showButton
f_100541_
private Button
x
reportButton
field_39622
reportButton
f_238614_
private float
y
tooltipHoverTime
field_26864
timeCounter
f_100544_
private static final Component
z
HIDDEN
field_26905
HIDDEN_TEXT
f_100545_
private static final Component
A
BLOCKED
field_26906
BLOCKED_TEXT
f_100546_
private static final Component
B
OFFLINE
field_26907
OFFLINE_TEXT
f_100547_
private static final Component
C
HIDDEN_OFFLINE
field_26908
HIDDEN_OFFLINE_TEXT
f_100548_
private static final Component
D
BLOCKED_OFFLINE
field_26909
BLOCKED_OFFLINE_TEXT
f_100549_
private static final Component
E
REPORT_DISABLED_TOOLTIP
field_39736
REPORT_DISABLED_TEXT
f_238715_
private static final Component
F
HIDE_TEXT_TOOLTIP
field_33837
hideText
f_240656_
private static final Component
G
SHOW_TEXT_TOOLTIP
field_33838
showText
f_240657_
private static final Component
H
REPORT_PLAYER_TOOLTIP
field_39623
reportText
f_240655_
private static final int
I
SKIN_SIZE
field_32420
field_32420
f_170069_
private static final int
J
PADDING
field_32421
field_32421
f_170061_
public static final int
a
SKIN_SHADE
field_26850
BLACK_COLOR
f_100529_
private static final int
K
CHAT_TOGGLE_ICON_SIZE
field_32422
field_32422
f_170062_
public static final int
b
BG_FILL
field_26851
GRAY_COLOR
f_100530_
public static final int
c
BG_FILL_REMOVED
field_26852
DARK_GRAY_COLOR
f_100531_
public static final int
d
PLAYERNAME_COLOR
field_26853
WHITE_COLOR
f_100532_
public static final int
e
PLAYER_STATUS_COLOR
field_26903
LIGHT_GRAY_COLOR
f_100533_

Constructor summary

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

Method summary

Modifier and TypeMethod
private Tooltip
l()
createReportButtonTooltip()
method_47634()
getReportButtonTooltip()
m_260909_()
public void
a(fgt arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, boolean arg8, float arg9)
render(GuiGraphics arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, boolean arg8, float arg9)
method_25343(class_332 arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, boolean arg8, float arg9)
render(DrawContext arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, boolean arg8, float arg9)
m_6311_(C_279497_ p_283281_, int p_281503_, int p_282112_, int p_282838_, int p_282747_, int p_282231_, int p_282048_, int p_281660_, boolean p_283055_, float arg9)
public List<? extends GuiEventListener>
aD_()
children()
method_25396()
children()
m_6702_()
public List<? extends NarratableEntry>
b()
narratables()
method_37025()
selectableChildren()
m_142437_()
public String
c()
getPlayerName()
method_31330()
getName()
m_100600_()
public UUID
d()
getPlayerId()
method_31334()
getUuid()
m_100618_()
public Supplier<PlayerSkin>
h()
getSkinGetter()
method_53594()
getSkinSupplier()
m_293311_()
public void
c(boolean arg0)
setRemoved(boolean arg0)
method_31335(boolean arg0)
setOffline(boolean offline)
m_100619_(boolean arg0)
public boolean
i()
isRemoved()
method_44754()
isOffline()
m_240725_()
public void
d(boolean arg0)
setHasRecentMessages(boolean arg0)
method_44753(boolean arg0)
setSentMessage(boolean sentMessage)
m_240730_(boolean arg0)
public boolean
j()
hasRecentMessages()
method_44756()
hasSentMessage()
m_240694_()
public boolean
k()
isChatReportable()
method_53595()
isReportable()
m_295583_()
private void
a(boolean arg0, xp arg1)
onHiddenOrShown(boolean arg0, Component arg1)
method_31329(boolean arg0, class_2561 arg1)
onButtonClick(boolean showButtonVisible, Text chatMessage)
m_100596_(boolean p_100598_, C_4996_ arg1)
private void
e(boolean arg0)
updateHideAndShowButton(boolean arg0)
method_47905(boolean arg0)
setShowButtonVisible(boolean showButtonVisible)
m_262454_(boolean arg0)
MutableComponent
a(yd arg0)
getEntryNarationMessage(MutableComponent arg0)
method_31389(class_5250 arg0)
getNarrationMessage(MutableText text)
m_100594_(C_5012_ arg0)
private Component
m()
getStatusComponent()
method_31390()
getStatusText()
m_100621_()