Class PlayerEntry
java.lang.Object
net.minecraft.client.gui.components.AbstractSelectionList.Entry<E>
net.minecraft.client.gui.components.ContainerObjectSelectionList.Entry<PlayerEntry>
net.minecraft.client.gui.screens.social.PlayerEntry
- All Implemented Interfaces:
- ContainerEventHandler,- GuiEventListener
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final intstatic final intprivate static final Componentprivate static final Componentprivate static final intprivate static final intprivate static final intprivate final List<AbstractWidget>private static final Componentprivate static final Componentprivate Button(package private) final Component(package private) final List<FormattedCharSequence>private final UUIDprivate booleanprivate final Minecraftprivate static final Componentprivate static final intstatic final intprivate final Stringstatic final intprivate Button(package private) final Component(package private) final List<FormattedCharSequence>static final intprivate static final intprivate final Supplier<ResourceLocation>private static final intprivate static final int(package private) floatFields inherited from class net.minecraft.client.gui.components.AbstractSelectionList.EntrylistFields inherited from interface net.minecraft.client.gui.components.events.GuiEventListenerDOUBLE_CLICK_THRESHOLD_MS
- 
Constructor SummaryConstructorsConstructorDescriptionPlayerEntry(Minecraft p_100552_, SocialInteractionsScreen p_100553_, UUID p_100554_, String p_100555_, Supplier<ResourceLocation> p_100556_) 
- 
Method SummaryModifier and TypeMethodDescriptionList<? extends GuiEventListener>children()(package private) MutableComponentgetEntryNarationMessage(MutableComponent p_100595_) private ComponentList<? extends NarratableEntry>private voidonHiddenOrShown(boolean p_100597_, Component p_100598_) (package private) static voidpostRenderTooltip(SocialInteractionsScreen p_100589_, PoseStack p_100590_, List<FormattedCharSequence> p_100591_, int p_100592_, int p_100593_) voidrender(PoseStack p_100558_, int p_100559_, int p_100560_, int p_100561_, int p_100562_, int p_100563_, int p_100564_, int p_100565_, boolean p_100566_, float p_100567_) voidsetRemoved(boolean p_100620_) Methods inherited from class net.minecraft.client.gui.components.ContainerObjectSelectionList.EntrygetFocused, isDragging, setDragging, setFocusedMethods inherited from class net.minecraft.client.gui.components.AbstractSelectionList.EntryisMouseOverMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.components.events.ContainerEventHandlerchangeFocus, charTyped, getChildAt, keyPressed, keyReleased, magicalSpecialHackyFocus, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocusMethods inherited from interface net.minecraft.client.gui.components.events.GuiEventListenerisMouseOver, mouseMoved
- 
Field Details- 
TOOLTIP_DELAYprivate static final int TOOLTIP_DELAY- See Also:
 
- 
TOOLTIP_MAX_WIDTHprivate static final int TOOLTIP_MAX_WIDTH- See Also:
 
- 
minecraft
- 
children
- 
id
- 
playerName
- 
skinGetter
- 
isRemovedprivate boolean isRemoved
- 
hideButton
- 
showButton
- 
hideText
- 
showText
- 
hideTooltip
- 
showTooltip
- 
tooltipHoverTimefloat tooltipHoverTime
- 
HIDDEN
- 
BLOCKED
- 
OFFLINE
- 
HIDDEN_OFFLINE
- 
BLOCKED_OFFLINE
- 
SKIN_SIZEprivate static final int SKIN_SIZE- See Also:
 
- 
PADDINGprivate static final int PADDING- See Also:
 
- 
CHAT_TOGGLE_ICON_SIZEprivate static final int CHAT_TOGGLE_ICON_SIZE- See Also:
 
- 
CHAT_TOGGLE_ICON_Xprivate static final int CHAT_TOGGLE_ICON_X- See Also:
 
- 
CHAT_TOGGLE_ICON_Yprivate static final int CHAT_TOGGLE_ICON_Y- See Also:
 
- 
SKIN_SHADEpublic static final int SKIN_SHADE
- 
BG_FILLpublic static final int BG_FILL
- 
BG_FILL_REMOVEDpublic static final int BG_FILL_REMOVED
- 
PLAYERNAME_COLORpublic static final int PLAYERNAME_COLOR
- 
PLAYER_STATUS_COLORpublic static final int PLAYER_STATUS_COLOR
 
- 
- 
Constructor Details- 
PlayerEntrypublic PlayerEntry(Minecraft p_100552_, SocialInteractionsScreen p_100553_, UUID p_100554_, String p_100555_, Supplier<ResourceLocation> p_100556_) 
 
- 
- 
Method Details- 
renderpublic void render(PoseStack p_100558_, int p_100559_, int p_100560_, int p_100561_, int p_100562_, int p_100563_, int p_100564_, int p_100565_, boolean p_100566_, float p_100567_) - Specified by:
- renderin class- AbstractSelectionList.Entry<PlayerEntry>
 
- 
children
- 
narratables- Specified by:
- narratablesin class- ContainerObjectSelectionList.Entry<PlayerEntry>
 
- 
getPlayerName
- 
getPlayerId
- 
setRemovedpublic void setRemoved(boolean p_100620_) 
- 
onHiddenOrShown
- 
getEntryNarationMessage
- 
getStatusComponent
- 
postRenderTooltipstatic void postRenderTooltip(SocialInteractionsScreen p_100589_, PoseStack p_100590_, List<FormattedCharSequence> p_100591_, int p_100592_, int p_100593_) 
 
-