net.minecraft.client.gui.screens.social

public class PlayerEntry

extends ContainerObjectSelectionList$Entry<PlayerEntry>

All mapped superinterfaces:

GuiEventListener, TabOrderedElement, LayoutElement, ContainerEventHandler

grt
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
i
REPORT_BUTTON_SPRITES
field_45561
REPORT_BUTTON_TEXTURES
f_291144_
private static final WidgetSprites
j
MUTE_BUTTON_SPRITES
field_45562
MUTE_BUTTON_TEXTURES
f_290914_
private static final WidgetSprites
k
UNMUTE_BUTTON_SPRITES
field_45563
UNMUTE_BUTTON_TEXTURES
f_290432_
private final Minecraft
l
minecraft
field_26854
client
f_100534_
private final List<AbstractWidget>
m
children
field_26855
buttons
f_100535_
private final UUID
n
id
field_26856
uuid
f_100536_
private final String
o
playerName
field_26857
name
f_100537_
private final Supplier<PlayerSkin>
p
skinGetter
field_26904
skinSupplier
f_100538_
private boolean
q
isRemoved
field_26859
offline
f_100539_
private boolean
r
hasRecentMessages
field_39790
sentMessage
f_240676_
private final boolean
s
reportingEnabled
field_39791
canSendReports
f_240670_
private boolean
t
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
HIDE_TEXT
f_240656_
private static final Component
G
SHOW_TEXT_TOOLTIP
field_33838
SHOW_TEXT
f_240657_
private static final Component
H
REPORT_PLAYER_TOOLTIP
field_39623
REPORT_TEXT
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
public void
a(hav arg0)
refreshHasDraftReport(ReportingContext arg0)
method_71087(class_7574 arg0)
updateHasDraftReport(AbuseReportContext context)
m_404248_(C_238495_ arg0)
private Tooltip
y()
createReportButtonTooltip()
method_47634()
getReportButtonTooltip()
m_260909_()
public void
a(gdd 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)
m_6311_(C_279497_ p_425199_, int p_424281_, int p_422476_, boolean p_428030_, float arg4)
public List<? extends GuiEventListener>
aJ_()
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
t()
getPlayerId()
method_31334()
getUuid()
m_100618_()
public Supplier<PlayerSkin>
u()
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
v()
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
w()
hasRecentMessages()
method_44756()
hasSentMessage()
m_240694_()
public boolean
x()
isChatReportable()
method_53595()
isReportable()
m_295583_()
private void
a(boolean arg0, xx 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(ym arg0)
getEntryNarationMessage(MutableComponent arg0)
method_31389(class_5250 arg0)
getNarrationMessage(MutableText text)
m_100594_(C_5012_ arg0)
private Component
z()
getStatusComponent()
method_31390()
getStatusText()
m_100621_()