Class SocialInteractionsPlayerListWidget
java.lang.Object
net.minecraft.client.gui.widget.ClickableWidget
net.minecraft.client.gui.widget.ScrollableWidget
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 gej
-
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, headerHeight, itemHeightFields inherited from class net.minecraft.client.gui.widget.ScrollableWidget
SCROLLBAR_WIDTHFields 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, drawSelectionHighlight, ensureVisible, getContentsHeightWithPadding, getDeltaYPerScroll, getEntry, getEntryAtPosition, getEntryCount, getFirst, getFocused, getHoveredEntry, getNeighboringEntry, getNeighboringEntry, getNeighboringEntry, getRowBottom, getRowLeft, getRowRight, getRowTop, getRowWidth, getScrollbarX, getSelectedOrNull, hoveredElement, position, position, remove, removeEntry, removeEntryWithoutScrolling, renderDecorations, renderEntry, renderHeader, renderList, renderWidget, replaceEntries, setSelected, setSelectedMethods inherited from class net.minecraft.client.gui.widget.ContainerWidget
isDragging, isFocused, mouseClicked, mouseDragged, mouseReleased, setDragging, setFocusedMethods inherited from class net.minecraft.client.gui.widget.ScrollableWidget
checkScrollbarDragged, drawScrollbar, getMaxScrollY, getScrollbarThumbHeight, getScrollbarThumbY, getScrollY, mouseScrolled, onRelease, overflows, refreshScroll, setScrollYMethods inherited from class net.minecraft.client.gui.widget.ClickableWidget
appendDefaultNarrations, appendNarrations, drawScrollableText, drawScrollableText, drawScrollableText, forEachChild, getBottom, getHeight, getMessage, getNarrationMessage, getNarrationMessage, getNavigationFocus, getNavigationOrder, getRight, getTooltip, getWidth, getX, getY, isHovered, isMouseOver, isNarratable, isSelected, isValidClickButton, onClick, onDrag, playClickSound, 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
getBorder, getNavigationFocus, isMouseOver, mouseMovedMethods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrderMethods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, getFocusedPath, keyPressed, keyReleased, mouseScrolledMethods inherited from interface net.minecraft.client.gui.Selectable
getNarratedPartsMethods 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 aLgej;a:Lgek;
-
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 mLgej;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 nLgej;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>Lgej;<init>(Lgek;Lfqq;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 cLfts;c(Lftk;)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 dLfts;d(Lftk;)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 aLgej;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 aLgej;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 aLgej;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 aLgej;a(Lgmj;)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 cLgej;c()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 aLgej;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 MLgej;M()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 aLgej;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 bLgej;b()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 aLgej;a(Lgma;Lgek$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 aLgej;a(Ljava/util/UUID;)V
-