类 SocialInteractionsPlayerList
java.lang.Object
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
net.minecraft.client.gui.components.AbstractSelectionList<E>
net.minecraft.client.gui.components.ContainerObjectSelectionList<PlayerEntry>
net.minecraft.client.gui.screens.social.SocialInteractionsPlayerList
- 所有已实现的接口:
ContainerEventHandler
,GuiEventListener
,Renderable
,TabOrderedElement
,NarratableEntry
,NarrationSupplier
-
嵌套类概要
从类继承的嵌套类/接口 net.minecraft.client.gui.components.ContainerObjectSelectionList
ContainerObjectSelectionList.Entry<E extends ContainerObjectSelectionList.Entry<E>>
从接口继承的嵌套类/接口 net.minecraft.client.gui.narration.NarratableEntry
NarratableEntry.NarrationPriority
-
字段概要
字段从类继承的字段 net.minecraft.client.gui.components.AbstractSelectionList
centerListVertically, headerHeight, height, itemHeight, minecraft, width, x0, x1, y0, y1
从接口继承的字段 net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS
-
构造器概要
构造器构造器说明SocialInteractionsPlayerList
(SocialInteractionsScreen pSocialInteractionsScreen, Minecraft pMinecraft, int pWidth, int pHeight, int pY0, int pY1, int pItemHeight) -
方法概要
修饰符和类型方法说明private void
addOnlinePlayers
(Collection<UUID> pIds, Map<UUID, PlayerEntry> pPlayerMap) void
addPlayer
(PlayerInfo pPlayerInfo, SocialInteractionsScreen.Page pPage) private static Collection<com.mojang.authlib.GameProfile>
collectProfilesFromChatLog
(ChatLog p_250748_) protected void
enableScissor
(GuiGraphics pGuiGraphics) boolean
isEmpty()
void
removePlayer
(UUID pId) void
private void
private void
private void
updateFiltersAndScroll
(Collection<PlayerEntry> pPlayers, double pScrollAmount) void
updatePlayerList
(Collection<UUID> pIds, double pScrollAmount, boolean pAddChatLogPlayers) private void
updatePlayersFromChatLog
(Map<UUID, PlayerEntry> pPlayerMap, boolean pAddPlayers) 从类继承的方法 net.minecraft.client.gui.components.ContainerObjectSelectionList
isSelectedItem, narrationPriority, nextFocusPath, setFocused, updateNarration
从类继承的方法 net.minecraft.client.gui.components.AbstractSelectionList
addEntry, addEntryToTop, centerScrollOn, children, clearEntries, clickedHeader, ensureVisible, getBottom, getEntry, getEntryAtPosition, getFirstElement, getFocused, getHeight, getHovered, getItemCount, getLeft, getMaxPosition, getMaxScroll, getRectangle, getRight, getRowBottom, getRowLeft, getRowRight, getRowTop, getRowWidth, getScrollAmount, getScrollbarPosition, getScrollBottom, getSelected, getTop, getWidth, isMouseOver, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, narrateListElementPosition, nextEntry, nextEntry, nextEntry, remove, removeEntry, removeEntryFromTop, render, renderBackground, renderDecorations, renderHeader, renderItem, renderList, renderSelection, replaceEntries, setLeftPos, setRenderBackground, setRenderHeader, setRenderSelection, setRenderTopAndBottom, setScrollAmount, setSelected, updateScrollingState, updateSize
从类继承的方法 net.minecraft.client.gui.components.events.AbstractContainerEventHandler
isDragging, setDragging
从类继承的方法 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, magicalSpecialHackyFocus, setFocused
从接口继承的方法 net.minecraft.client.gui.components.events.GuiEventListener
mouseMoved
从接口继承的方法 net.minecraft.client.gui.narration.NarratableEntry
isActive
从接口继承的方法 net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
字段详细资料
-
players
-
filter
-
构造器详细资料
-
SocialInteractionsPlayerList
public SocialInteractionsPlayerList(SocialInteractionsScreen pSocialInteractionsScreen, Minecraft pMinecraft, int pWidth, int pHeight, int pY0, int pY1, int pItemHeight)
-
-
方法详细资料
-
enableScissor
-
updatePlayerList
public void updatePlayerList(Collection<UUID> pIds, double pScrollAmount, boolean pAddChatLogPlayers) -
addOnlinePlayers
-
updatePlayersFromChatLog
-
collectProfilesFromChatLog
private static Collection<com.mojang.authlib.GameProfile> collectProfilesFromChatLog(ChatLog p_250748_) -
sortPlayerEntries
private void sortPlayerEntries() -
updateFiltersAndScroll
-
updateFilteredPlayers
private void updateFilteredPlayers() -
setFilter
-
isEmpty
public boolean isEmpty() -
addPlayer
-
removePlayer
-
socialInteractionsScreen