Class SocialInteractionsPlayerListWidget
java.lang.Object
net.minecraft.client.gui.AbstractParentElement
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
@Environment(CLIENT)
public class SocialInteractionsPlayerListWidget
extends ElementListWidget<SocialInteractionsPlayerListEntry>
- Mappings:
Namespace Name intermediary net/minecraft/class_5521official eyinamed 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
bottom, centerListVertically, client, headerHeight, height, itemHeight, left, right, top, 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 top, int bottom, 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
appendNarrations, 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, getNavigationFocus, getNeighboringEntry, getNeighboringEntry, getNeighboringEntry, getRowBottom, getRowLeft, getRowRight, getRowTop, getRowWidth, getScrollAmount, getScrollbarPositionX, getSelectedOrNull, isMouseOver, method_35721, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, remove, removeEntry, removeEntryWithoutScrolling, render, renderBackground, renderDecorations, renderEntry, renderHeader, renderList, replaceEntries, setLeftPos, setRenderBackground, setRenderHeader, setRenderHorizontalShadows, setRenderSelection, setScrollAmount, setSelected, updateScrollingState, updateSizeMethods inherited from class net.minecraft.client.gui.AbstractParentElement
isDragging, setDraggingMethods 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
mouseMovedMethods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrderMethods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, focusOn, getFocusedPath, hoveredElement, isFocused, keyPressed, keyReleased, setFocusedMethods inherited from interface net.minecraft.client.gui.Selectable
isNarratable
-
Field Details
-
parent
- Mappings:
Namespace Name Mixin selector intermediary field_26867Lnet/minecraft/class_5521;field_26867:Lnet/minecraft/class_5522;official aLeyi;a:Leyj;named parentLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;parent:Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;
-
players
- Mappings:
Namespace Name Mixin selector intermediary field_26869Lnet/minecraft/class_5521;field_26869:Ljava/util/List;official lLeyi;l:Ljava/util/List;named playersLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;players:Ljava/util/List;
-
currentSearch
- Mappings:
Namespace Name Mixin selector intermediary field_26870Lnet/minecraft/class_5521;field_26870:Ljava/lang/String;official mLeyi;m: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 top, int bottom, int itemHeight) - Mappings:
Namespace Name Mixin selector intermediary <init>Lnet/minecraft/class_5521;<init>(Lnet/minecraft/class_5522;Lnet/minecraft/class_310;IIIII)Vofficial <init>Leyi;<init>(Leyj;Lenf;IIIII)Vnamed <init>Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;<init>(Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;Lnet/minecraft/client/MinecraftClient;IIIII)V
-
-
Method Details
-
enableScissor
- Overrides:
enableScissorin classEntryListWidget<SocialInteractionsPlayerListEntry>- Mappings:
Namespace Name Mixin selector intermediary method_49603Lnet/minecraft/class_350;method_49603(Lnet/minecraft/class_332;)Vofficial bLeou;b(Leop;)Vnamed enableScissorLnet/minecraft/client/gui/widget/EntryListWidget;enableScissor(Lnet/minecraft/client/gui/DrawContext;)V
-
update
- Mappings:
Namespace Name Mixin selector intermediary method_31393Lnet/minecraft/class_5521;method_31393(Ljava/util/Collection;DZ)Vofficial aLeyi;a(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 intermediary method_44699Lnet/minecraft/class_5521;method_44699(Ljava/util/Collection;Ljava/util/Map;)Vofficial aLeyi;a(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 intermediary method_44759Lnet/minecraft/class_5521;method_44759(Ljava/util/Map;Z)Vofficial aLeyi;a(Ljava/util/Map;Z)Vnamed markOfflineMembersLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;markOfflineMembers(Ljava/util/Map;Z)V
-
collectReportableProfiles
- Mappings:
Namespace Name Mixin selector intermediary method_45665Lnet/minecraft/class_5521;method_45665(Lnet/minecraft/class_7555;)Ljava/util/Collection;official aLeyi;a(Lfew;)Ljava/util/Collection;named collectReportableProfilesLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;collectReportableProfiles(Lnet/minecraft/client/report/log/ChatLog;)Ljava/util/Collection;
-
sortPlayers
private void sortPlayers()- Mappings:
Namespace Name Mixin selector intermediary method_44762Lnet/minecraft/class_5521;method_44762()Vofficial eLeyi;e()Vnamed sortPlayersLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;sortPlayers()V
-
refresh
- Mappings:
Namespace Name Mixin selector intermediary method_44698Lnet/minecraft/class_5521;method_44698(Ljava/util/Collection;D)Vofficial aLeyi;a(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 intermediary method_31349Lnet/minecraft/class_5521;method_31349()Vofficial vLeyi;v()Vnamed filterPlayersLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;filterPlayers()V
-
setCurrentSearch
- Mappings:
Namespace Name Mixin selector intermediary method_31346Lnet/minecraft/class_5521;method_31346(Ljava/lang/String;)Vofficial aLeyi;a(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 intermediary method_31348Lnet/minecraft/class_5521;method_31348()Zofficial dLeyi;d()Znamed isEmptyLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;isEmpty()Z
-
setPlayerOnline
- Mappings:
Namespace Name Mixin selector intermediary method_31345Lnet/minecraft/class_5521;method_31345(Lnet/minecraft/class_640;Lnet/minecraft/class_5522$class_5523;)Vofficial aLeyi;a(Lfeq;Leyj$a;)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 intermediary method_31347Lnet/minecraft/class_5521;method_31347(Ljava/util/UUID;)Vofficial aLeyi;a(Ljava/util/UUID;)Vnamed setPlayerOfflineLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;setPlayerOffline(Ljava/util/UUID;)V
-