Class SocialInteractionsPlayerListWidget
java.lang.Object
net.minecraft.client.gui.widget.ClickableWidget
net.minecraft.client.gui.widget.ContainerWidget
net.minecraft.client.gui.widget.EntryListWidget<E>
net.minecraft.client.gui.widget.ElementListWidget<SocialInteractionsPlayerListEntry>
net.minecraft.client.gui.screen.multiplayer.SocialInteractionsPlayerListWidget
- All Implemented Interfaces:
Drawable,Element,Narratable,Navigable,ParentElement,Selectable,Widget
@Environment(CLIENT)
public class SocialInteractionsPlayerListWidget
extends ElementListWidget<SocialInteractionsPlayerListEntry>
- Mappings:
Namespace Name official fhkintermediary net/minecraft/class_5521named net/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.widget.ElementListWidget
ElementListWidget.Entry<E extends ElementListWidget.Entry<E>>Nested classes/interfaces inherited from interface net.minecraft.client.gui.Selectable
Selectable.SelectionType -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final SocialInteractionsScreenprivate final List<SocialInteractionsPlayerListEntry>Fields inherited from class net.minecraft.client.gui.widget.EntryListWidget
centerListVertically, client, field_45909, headerHeight, itemHeightFields inherited from class net.minecraft.client.gui.widget.ClickableWidget
active, alpha, height, hovered, visible, widthFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
ConstructorsConstructorDescriptionSocialInteractionsPlayerListWidget(SocialInteractionsScreen parent, MinecraftClient client, int width, int height, int y, int itemHeight) -
Method Summary
Modifier and TypeMethodDescriptionprivate static Collection<com.mojang.authlib.GameProfile>protected voidenableScissor(DrawContext context) private voidbooleanisEmpty()private voidmarkOfflineMembers(Map<UUID, SocialInteractionsPlayerListEntry> entries, boolean includeOffline) private voidrefresh(Collection<SocialInteractionsPlayerListEntry> players, double scrollAmount) voidsetCurrentSearch(String currentSearch) voidsetPlayerOffline(UUID uuid) voidsetPlayerOnline(PlayerListEntry player, SocialInteractionsScreen.Tab tab) private voidsetPlayers(Collection<UUID> playerUuids, Map<UUID, SocialInteractionsPlayerListEntry> entriesByUuids) private voidvoidupdate(Collection<UUID> uuids, double scrollAmount, boolean includeOffline) Methods inherited from class net.minecraft.client.gui.widget.ElementListWidget
appendClickableNarrations, getNavigationPath, getType, isSelectedEntry, setFocusedMethods inherited from class net.minecraft.client.gui.widget.EntryListWidget
addEntry, addEntryToTop, appendNarrations, centerScrollOn, children, clearEntries, clickedHeader, drawSelectionHighlight, ensureVisible, getEntry, getEntryAtPosition, getEntryCount, getFirst, getFocused, getHoveredEntry, getMaxPosition, getMaxScroll, getNeighboringEntry, getNeighboringEntry, getNeighboringEntry, getRowBottom, getRowLeft, getRowRight, getRowTop, getRowWidth, getScrollAmount, getScrollbarPositionX, getSelectedOrNull, isMouseOver, isSelectButton, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, remove, removeEntry, removeEntryWithoutScrolling, renderDecorations, renderEntry, renderHeader, renderList, renderWidget, replaceEntries, setRenderBackground, setRenderHeader, setScrollAmount, setSelected, updateScrollingStateMethods inherited from class net.minecraft.client.gui.widget.ContainerWidget
isDragging, isFocused, setDragging, setFocusedMethods inherited from class net.minecraft.client.gui.widget.ClickableWidget
appendDefaultNarrations, appendNarrations, clicked, drawScrollableText, drawScrollableText, drawScrollableText, forEachChild, getBottom, getHeight, getMessage, getNarrationMessage, getNarrationMessage, getNavigationFocus, getNavigationOrder, getRight, getTooltip, getWidth, getX, getY, isHovered, isNarratable, isSelected, isValidClickButton, onClick, onDrag, onRelease, playDownSound, render, setAlpha, setDimensions, setDimensionsAndPosition, setHeight, setMessage, setNavigationOrder, setTooltip, setTooltipDelay, setWidth, setX, setYMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.Element
getNavigationFocus, mouseMovedMethods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrderMethods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, focusOn, getFocusedPath, hoveredElement, keyPressed, keyReleasedMethods inherited from interface net.minecraft.client.gui.widget.Widget
setPosition
-
Field Details
-
parent
- Mappings:
Namespace Name Mixin selector official aLfhk;a:Lfhl;intermediary field_26867Lnet/minecraft/class_5521;field_26867:Lnet/minecraft/class_5522;named parentLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;parent:Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;
-
players
- Mappings:
Namespace Name Mixin selector official mLfhk;m:Ljava/util/List;intermediary field_26869Lnet/minecraft/class_5521;field_26869:Ljava/util/List;named playersLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;players:Ljava/util/List;
-
currentSearch
- Mappings:
Namespace Name Mixin selector official nLfhk;n:Ljava/lang/String;intermediary field_26870Lnet/minecraft/class_5521;field_26870:Ljava/lang/String;named currentSearchLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;currentSearch:Ljava/lang/String;
-
-
Constructor Details
-
SocialInteractionsPlayerListWidget
public SocialInteractionsPlayerListWidget(SocialInteractionsScreen parent, MinecraftClient client, int width, int height, int y, int itemHeight) - Mappings:
Namespace Name Mixin selector official <init>Lfhk;<init>(Lfhl;Levi;IIII)Vintermediary <init>Lnet/minecraft/class_5521;<init>(Lnet/minecraft/class_5522;Lnet/minecraft/class_310;IIII)Vnamed <init>Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;<init>(Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;Lnet/minecraft/client/MinecraftClient;IIII)V
-
-
Method Details
-
enableScissor
- Overrides:
enableScissorin classEntryListWidget<SocialInteractionsPlayerListEntry>- Mappings:
Namespace Name Mixin selector official aLexb;a(Lewu;)Vintermediary method_49603Lnet/minecraft/class_350;method_49603(Lnet/minecraft/class_332;)Vnamed enableScissorLnet/minecraft/client/gui/widget/EntryListWidget;enableScissor(Lnet/minecraft/client/gui/DrawContext;)V
-
update
- Mappings:
Namespace Name Mixin selector official aLfhk;a(Ljava/util/Collection;DZ)Vintermediary method_31393Lnet/minecraft/class_5521;method_31393(Ljava/util/Collection;DZ)Vnamed updateLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;update(Ljava/util/Collection;DZ)V
-
setPlayers
private void setPlayers(Collection<UUID> playerUuids, Map<UUID, SocialInteractionsPlayerListEntry> entriesByUuids) - Mappings:
Namespace Name Mixin selector official aLfhk;a(Ljava/util/Collection;Ljava/util/Map;)Vintermediary method_44699Lnet/minecraft/class_5521;method_44699(Ljava/util/Collection;Ljava/util/Map;)Vnamed setPlayersLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;setPlayers(Ljava/util/Collection;Ljava/util/Map;)V
-
markOfflineMembers
private void markOfflineMembers(Map<UUID, SocialInteractionsPlayerListEntry> entries, boolean includeOffline) - Mappings:
Namespace Name Mixin selector official aLfhk;a(Ljava/util/Map;Z)Vintermediary method_44759Lnet/minecraft/class_5521;method_44759(Ljava/util/Map;Z)Vnamed markOfflineMembersLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;markOfflineMembers(Ljava/util/Map;Z)V
-
collectReportableProfiles
- Mappings:
Namespace Name Mixin selector official aLfhk;a(Lfoh;)Ljava/util/Collection;intermediary method_45665Lnet/minecraft/class_5521;method_45665(Lnet/minecraft/class_7555;)Ljava/util/Collection;named collectReportableProfilesLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;collectReportableProfiles(Lnet/minecraft/client/session/report/log/ChatLog;)Ljava/util/Collection;
-
sortPlayers
private void sortPlayers()- Mappings:
Namespace Name Mixin selector official eLfhk;e()Vintermediary method_44762Lnet/minecraft/class_5521;method_44762()Vnamed sortPlayersLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;sortPlayers()V
-
refresh
- Mappings:
Namespace Name Mixin selector official aLfhk;a(Ljava/util/Collection;D)Vintermediary method_44698Lnet/minecraft/class_5521;method_44698(Ljava/util/Collection;D)Vnamed refreshLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;refresh(Ljava/util/Collection;D)V
-
filterPlayers
private void filterPlayers()- Mappings:
Namespace Name Mixin selector official HLfhk;H()Vintermediary method_31349Lnet/minecraft/class_5521;method_31349()Vnamed filterPlayersLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;filterPlayers()V
-
setCurrentSearch
- Mappings:
Namespace Name Mixin selector official aLfhk;a(Ljava/lang/String;)Vintermediary method_31346Lnet/minecraft/class_5521;method_31346(Ljava/lang/String;)Vnamed setCurrentSearchLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;setCurrentSearch(Ljava/lang/String;)V
-
isEmpty
public boolean isEmpty()- Mappings:
Namespace Name Mixin selector official dLfhk;d()Zintermediary method_31348Lnet/minecraft/class_5521;method_31348()Znamed isEmptyLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;isEmpty()Z
-
setPlayerOnline
- Mappings:
Namespace Name Mixin selector official aLfhk;a(Lfob;Lfhl$a;)Vintermediary method_31345Lnet/minecraft/class_5521;method_31345(Lnet/minecraft/class_640;Lnet/minecraft/class_5522$class_5523;)Vnamed setPlayerOnlineLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;setPlayerOnline(Lnet/minecraft/client/network/PlayerListEntry;Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen$Tab;)V
-
setPlayerOffline
- Mappings:
Namespace Name Mixin selector official aLfhk;a(Ljava/util/UUID;)Vintermediary method_31347Lnet/minecraft/class_5521;method_31347(Ljava/util/UUID;)Vnamed setPlayerOfflineLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;setPlayerOffline(Ljava/util/UUID;)V
-