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,- TabOrderedElement
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final intstatic final intprivate static final Componentprivate static final Componentprivate static final intprivate final booleanprivate final List<AbstractWidget>private static final ResourceLocationprivate final booleanprivate booleanprivate static final Componentprivate static final Componentprivate static final Componentprivate Buttonprivate final UUIDprivate booleanprivate final Minecraftprivate static final WidgetSpritesprivate static final Componentprivate static final intstatic final intprivate final Stringstatic final intprivate static final WidgetSpritesprivate static final Componentprivate static final Componentprivate Buttonprivate final booleanprivate static final Componentprivate Buttonstatic final intprivate static final intprivate final Supplier<PlayerSkin>private static final intprivate floatprivate static final WidgetSpritesFields 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_243293_, SocialInteractionsScreen p_243214_, UUID p_243288_, String p_243311_, Supplier<PlayerSkin> p_243309_, boolean p_243297_) 
- 
Method SummaryModifier and TypeMethodDescriptionList<? extends GuiEventListener>children()private Tooltip(package private) MutableComponentgetEntryNarationMessage(MutableComponent p_100595_) private ComponentbooleanbooleanbooleanList<? extends NarratableEntry>private voidonHiddenOrShown(boolean p_100597_, Component p_100598_) voidrender(GuiGraphics p_282434_, int p_283281_, int p_281503_, int p_282112_, int p_282838_, int p_282747_, int p_282231_, int p_282048_, boolean p_281660_, float p_283055_) voidsetHasRecentMessages(boolean p_240771_) voidsetRemoved(boolean p_100620_) private voidupdateHideAndShowButton(boolean p_262638_) Methods inherited from class net.minecraft.client.gui.components.ContainerObjectSelectionList.EntryfocusPathAtIndex, getFocused, isDragging, mouseClicked, nextFocusPath, setDragging, setFocusedMethods inherited from class net.minecraft.client.gui.components.AbstractSelectionList.EntryisFocused, isMouseOver, renderBack, setFocusedMethods 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.ContainerEventHandlercharTyped, getChildAt, getCurrentFocusPath, isFocused, keyPressed, keyReleased, magicalSpecialHackyFocus, mouseDragged, mouseReleased, mouseScrolled, setFocusedMethods inherited from interface net.minecraft.client.gui.components.events.GuiEventListenergetRectangle, isMouseOver, mouseMovedMethods inherited from interface net.minecraft.client.gui.components.TabOrderedElementgetTabOrderGroup
- 
Field Details- 
DRAFT_REPORT_SPRITE
- 
TOOLTIP_DELAYprivate static final int TOOLTIP_DELAY- See Also:
 
- 
REPORT_BUTTON_SPRITES
- 
MUTE_BUTTON_SPRITES
- 
UNMUTE_BUTTON_SPRITES
- 
minecraft
- 
children
- 
id
- 
playerName
- 
skinGetter
- 
isRemovedprivate boolean isRemoved
- 
hasRecentMessagesprivate boolean hasRecentMessages
- 
reportingEnabledprivate final boolean reportingEnabled
- 
hasDraftReportprivate final boolean hasDraftReport
- 
chatReportableprivate final boolean chatReportable
- 
hideButton
- 
showButton
- 
reportButton
- 
tooltipHoverTimeprivate float tooltipHoverTime
- 
HIDDEN
- 
BLOCKED
- 
OFFLINE
- 
HIDDEN_OFFLINE
- 
BLOCKED_OFFLINE
- 
REPORT_DISABLED_TOOLTIP
- 
HIDE_TEXT_TOOLTIP
- 
SHOW_TEXT_TOOLTIP
- 
REPORT_PLAYER_TOOLTIP
- 
SKIN_SIZEprivate static final int SKIN_SIZE- See Also:
 
- 
PADDINGprivate static final int PADDING- See Also:
 
- 
SKIN_SHADEpublic static final int SKIN_SHADE
- 
CHAT_TOGGLE_ICON_SIZEprivate static final int CHAT_TOGGLE_ICON_SIZE- See Also:
 
- 
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_243293_, SocialInteractionsScreen p_243214_, UUID p_243288_, String p_243311_, Supplier<PlayerSkin> p_243309_, boolean p_243297_) 
 
- 
- 
Method Details- 
createReportButtonTooltip
- 
renderpublic void render(GuiGraphics p_282434_, int p_283281_, int p_281503_, int p_282112_, int p_282838_, int p_282747_, int p_282231_, int p_282048_, boolean p_281660_, float p_283055_) - Specified by:
- renderin class- AbstractSelectionList.Entry<PlayerEntry>
 
- 
children
- 
narratables- Specified by:
- narratablesin class- ContainerObjectSelectionList.Entry<PlayerEntry>
 
- 
getPlayerName
- 
getPlayerId
- 
getSkinGetter
- 
setRemovedpublic void setRemoved(boolean p_100620_) 
- 
isRemovedpublic boolean isRemoved()
- 
setHasRecentMessagespublic void setHasRecentMessages(boolean p_240771_) 
- 
hasRecentMessagespublic boolean hasRecentMessages()
- 
isChatReportablepublic boolean isChatReportable()
- 
onHiddenOrShown
- 
updateHideAndShowButtonprivate void updateHideAndShowButton(boolean p_262638_) 
- 
getEntryNarationMessage
- 
getStatusComponent
 
-