Class SocialInteractionsPlayerListWidget
java.lang.Object
net.minecraft.client.gui.widget.ClickableWidget
net.minecraft.client.gui.widget.ContainerWidget
net.minecraft.client.gui.widget.EntryListWidget<SocialInteractionsPlayerListEntry>
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 named net/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidgetintermediary net/minecraft/class_5521official fsv
-
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 voiddrawHeaderAndFooterSeparators(DrawContext context) protected voiddrawMenuListBackground(DrawContext context) 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, getDefaultScrollbarX, getEntry, getEntryAtPosition, getEntryCount, getFirst, getFocused, getHoveredEntry, getMaxPosition, getMaxScroll, getNeighboringEntry, getNeighboringEntry, getNeighboringEntry, getRowBottom, getRowLeft, getRowRight, getRowTop, getRowWidth, getScrollAmount, getScrollbarX, getSelectedOrNull, isMouseOver, isScrollbarVisible, isSelectButton, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, position, position, refreshScroll, remove, removeEntry, removeEntryWithoutScrolling, renderDecorations, renderEntry, renderHeader, renderList, renderWidget, replaceEntries, setRenderHeader, setScrollAmount, setScrollAmountOnly, 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, getFocusedPath, hoveredElement, keyPressed, keyReleasedMethods inherited from interface net.minecraft.client.gui.widget.Widget
setPosition
-
Field Details
-
parent
- Mappings:
Namespace Name Mixin selector named parentLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;parent:Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;intermediary field_26867Lnet/minecraft/class_5521;field_26867:Lnet/minecraft/class_5522;official aLfsv;a:Lfsw;
-
players
- Mappings:
Namespace Name Mixin selector named playersLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;players:Ljava/util/List;intermediary field_26869Lnet/minecraft/class_5521;field_26869:Ljava/util/List;official mLfsv;m:Ljava/util/List;
-
currentSearch
- Mappings:
Namespace Name Mixin selector named currentSearchLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;currentSearch:Ljava/lang/String;intermediary field_26870Lnet/minecraft/class_5521;field_26870:Ljava/lang/String;official nLfsv;n: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 named <init>Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;<init>(Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;Lnet/minecraft/client/MinecraftClient;IIII)Vintermediary <init>Lnet/minecraft/class_5521;<init>(Lnet/minecraft/class_5522;Lnet/minecraft/class_310;IIII)Vofficial <init>Lfsv;<init>(Lfsw;Lfgo;IIII)V
-
-
Method Details
-
drawMenuListBackground
- Overrides:
drawMenuListBackgroundin classEntryListWidget<SocialInteractionsPlayerListEntry>- Mappings:
Namespace Name Mixin selector named drawMenuListBackgroundLnet/minecraft/client/gui/widget/EntryListWidget;drawMenuListBackground(Lnet/minecraft/client/gui/DrawContext;)Vintermediary method_57715Lnet/minecraft/class_350;method_57715(Lnet/minecraft/class_332;)Vofficial bLfih;b(Lfhz;)V
-
enableScissor
- Overrides:
enableScissorin classEntryListWidget<SocialInteractionsPlayerListEntry>- Mappings:
Namespace Name Mixin selector named enableScissorLnet/minecraft/client/gui/widget/EntryListWidget;enableScissor(Lnet/minecraft/client/gui/DrawContext;)Vintermediary method_49603Lnet/minecraft/class_350;method_49603(Lnet/minecraft/class_332;)Vofficial cLfih;c(Lfhz;)V
-
update
- Mappings:
Namespace Name Mixin selector named updateLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;update(Ljava/util/Collection;DZ)Vintermediary method_31393Lnet/minecraft/class_5521;method_31393(Ljava/util/Collection;DZ)Vofficial aLfsv;a(Ljava/util/Collection;DZ)V
-
setPlayers
private void setPlayers(Collection<UUID> playerUuids, Map<UUID, SocialInteractionsPlayerListEntry> entriesByUuids) - Mappings:
Namespace Name Mixin selector named setPlayersLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;setPlayers(Ljava/util/Collection;Ljava/util/Map;)Vintermediary method_44699Lnet/minecraft/class_5521;method_44699(Ljava/util/Collection;Ljava/util/Map;)Vofficial aLfsv;a(Ljava/util/Collection;Ljava/util/Map;)V
-
markOfflineMembers
private void markOfflineMembers(Map<UUID, SocialInteractionsPlayerListEntry> entries, boolean includeOffline) - Mappings:
Namespace Name Mixin selector named markOfflineMembersLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;markOfflineMembers(Ljava/util/Map;Z)Vintermediary method_44759Lnet/minecraft/class_5521;method_44759(Ljava/util/Map;Z)Vofficial aLfsv;a(Ljava/util/Map;Z)V
-
collectReportableProfiles
- Mappings:
Namespace Name Mixin selector named collectReportableProfilesLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;collectReportableProfiles(Lnet/minecraft/client/session/report/log/ChatLog;)Ljava/util/Collection;intermediary method_45665Lnet/minecraft/class_5521;method_45665(Lnet/minecraft/class_7555;)Ljava/util/Collection;official aLfsv;a(Lgaa;)Ljava/util/Collection;
-
sortPlayers
private void sortPlayers()- Mappings:
Namespace Name Mixin selector named sortPlayersLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;sortPlayers()Vintermediary method_44762Lnet/minecraft/class_5521;method_44762()Vofficial JLfsv;J()V
-
refresh
- Mappings:
Namespace Name Mixin selector named refreshLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;refresh(Ljava/util/Collection;D)Vintermediary method_44698Lnet/minecraft/class_5521;method_44698(Ljava/util/Collection;D)Vofficial aLfsv;a(Ljava/util/Collection;D)V
-
filterPlayers
private void filterPlayers()- Mappings:
Namespace Name Mixin selector named filterPlayersLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;filterPlayers()Vintermediary method_31349Lnet/minecraft/class_5521;method_31349()Vofficial KLfsv;K()V
-
setCurrentSearch
- Mappings:
Namespace Name Mixin selector named setCurrentSearchLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;setCurrentSearch(Ljava/lang/String;)Vintermediary method_31346Lnet/minecraft/class_5521;method_31346(Ljava/lang/String;)Vofficial aLfsv;a(Ljava/lang/String;)V
-
isEmpty
public boolean isEmpty()- Mappings:
Namespace Name Mixin selector named isEmptyLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;isEmpty()Zintermediary method_31348Lnet/minecraft/class_5521;method_31348()Zofficial cLfsv;c()Z
-
setPlayerOnline
- Mappings:
Namespace Name Mixin selector named setPlayerOnlineLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;setPlayerOnline(Lnet/minecraft/client/network/PlayerListEntry;Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen$Tab;)Vintermediary method_31345Lnet/minecraft/class_5521;method_31345(Lnet/minecraft/class_640;Lnet/minecraft/class_5522$class_5523;)Vofficial aLfsv;a(Lfzq;Lfsw$a;)V
-
setPlayerOffline
- Mappings:
Namespace Name Mixin selector named setPlayerOfflineLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;setPlayerOffline(Ljava/util/UUID;)Vintermediary method_31347Lnet/minecraft/class_5521;method_31347(Ljava/util/UUID;)Vofficial aLfsv;a(Ljava/util/UUID;)V
-