类 PlayerEntry
java.lang.Object
net.minecraft.client.gui.components.AbstractSelectionList.Entry<PlayerEntry>
net.minecraft.client.gui.components.ContainerObjectSelectionList.Entry<PlayerEntry>
net.minecraft.client.gui.screens.social.PlayerEntry
- 所有已实现的接口:
ContainerEventHandler
,GuiEventListener
,TabOrderedElement
-
字段概要
字段修饰符和类型字段说明static final int
static final int
private static final Component
private static final Component
private static final int
private final boolean
private final List
<AbstractWidget> private static final ResourceLocation
private final boolean
private boolean
private static final Component
private static final Component
private static final Component
private Button
private final UUID
private boolean
private final Minecraft
private static final WidgetSprites
private static final Component
private static final int
static final int
private final String
static final int
private static final WidgetSprites
private static final Component
private static final Component
private Button
private final boolean
private static final Component
private Button
static final int
private static final int
private final Supplier
<PlayerSkin> private static final Duration
private float
private static final WidgetSprites
从类继承的字段 net.minecraft.client.gui.components.AbstractSelectionList.Entry
list
从接口继承的字段 net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS
-
构造器概要
构造器构造器说明PlayerEntry
(Minecraft p_243293_, SocialInteractionsScreen p_243214_, UUID p_243288_, String p_243311_, Supplier<PlayerSkin> p_243309_, boolean p_243297_) -
方法概要
修饰符和类型方法说明List
<? extends GuiEventListener> children()
private Tooltip
(专用程序包) MutableComponent
getEntryNarationMessage
(MutableComponent p_100595_) private Component
boolean
boolean
boolean
List
<? extends NarratableEntry> private void
onHiddenOrShown
(boolean p_100597_, Component p_100598_) 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_) void
setHasRecentMessages
(boolean p_240771_) void
setRemoved
(boolean p_100620_) private void
updateHideAndShowButton
(boolean p_262638_) 从类继承的方法 net.minecraft.client.gui.components.ContainerObjectSelectionList.Entry
focusPathAtIndex, getFocused, isDragging, mouseClicked, nextFocusPath, setDragging, setFocused
从类继承的方法 net.minecraft.client.gui.components.AbstractSelectionList.Entry
isFocused, isMouseOver, renderBack, setFocused
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraft.client.gui.components.events.ContainerEventHandler
charTyped, getChildAt, getCurrentFocusPath, isFocused, keyPressed, keyReleased, mouseDragged, mouseReleased, mouseScrolled, setFocused
从接口继承的方法 net.minecraft.client.gui.components.events.GuiEventListener
getBorderForArrowNavigation, getRectangle, isMouseOver, mouseMoved
从接口继承的方法 net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
字段详细资料
-
DRAFT_REPORT_SPRITE
-
TOOLTIP_DELAY
-
REPORT_BUTTON_SPRITES
-
MUTE_BUTTON_SPRITES
-
UNMUTE_BUTTON_SPRITES
-
minecraft
-
children
-
id
-
playerName
-
skinGetter
-
isRemoved
private boolean isRemoved -
hasRecentMessages
private boolean hasRecentMessages -
reportingEnabled
private final boolean reportingEnabled -
hasDraftReport
private final boolean hasDraftReport -
chatReportable
private final boolean chatReportable -
hideButton
-
showButton
-
reportButton
-
tooltipHoverTime
private float tooltipHoverTime -
HIDDEN
-
BLOCKED
-
OFFLINE
-
HIDDEN_OFFLINE
-
BLOCKED_OFFLINE
-
REPORT_DISABLED_TOOLTIP
-
HIDE_TEXT_TOOLTIP
-
SHOW_TEXT_TOOLTIP
-
REPORT_PLAYER_TOOLTIP
-
SKIN_SIZE
private static final int SKIN_SIZE- 另请参阅:
-
PADDING
private static final int PADDING- 另请参阅:
-
SKIN_SHADE
public static final int SKIN_SHADE -
CHAT_TOGGLE_ICON_SIZE
private static final int CHAT_TOGGLE_ICON_SIZE- 另请参阅:
-
BG_FILL
public static final int BG_FILL -
BG_FILL_REMOVED
public static final int BG_FILL_REMOVED -
PLAYERNAME_COLOR
public static final int PLAYERNAME_COLOR -
PLAYER_STATUS_COLOR
public static final int PLAYER_STATUS_COLOR
-
-
构造器详细资料
-
PlayerEntry
public PlayerEntry(Minecraft p_243293_, SocialInteractionsScreen p_243214_, UUID p_243288_, String p_243311_, Supplier<PlayerSkin> p_243309_, boolean p_243297_)
-
-
方法详细资料
-
createReportButtonTooltip
-
render
public 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_) - 指定者:
render
在类中AbstractSelectionList.Entry<PlayerEntry>
-
children
-
narratables
-
getPlayerName
-
getPlayerId
-
getSkinGetter
-
setRemoved
public void setRemoved(boolean p_100620_) -
isRemoved
public boolean isRemoved() -
setHasRecentMessages
public void setHasRecentMessages(boolean p_240771_) -
hasRecentMessages
public boolean hasRecentMessages() -
isChatReportable
public boolean isChatReportable() -
onHiddenOrShown
-
updateHideAndShowButton
private void updateHideAndShowButton(boolean p_262638_) -
getEntryNarationMessage
-
getStatusComponent
-