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 grv
-
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, itemHeightFields inherited from class net.minecraft.client.gui.widget.ScrollableWidget
SCROLLBAR_WIDTH -
Constructor Summary
ConstructorsConstructorDescriptionSocialInteractionsPlayerListWidget(SocialInteractionsScreen parent, MinecraftClient client, int width, int height, int y, int itemHeight) -
Method Summary
Modifier and TypeMethodDescriptionprivate voidcollectOfflinePlayers(Map<UUID, SocialInteractionsPlayerListEntry> entriesByUuids) createListEntry(UUID uuid, PlayerListEntry playerListEntry) 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) voidMethods inherited from class net.minecraft.client.gui.widget.ElementListWidget
appendClickableNarrations, getNavigationPath, getType, isEntrySelectionAllowed, setFocusedMethods inherited from class net.minecraft.client.gui.widget.EntryListWidget
addEntry, addEntry, addEntryToTop, addEntryToTop, appendNarrations, centerScrollOn, children, clearEntries, clearEntriesExcept, drawSelectionHighlight, getContentsHeightWithPadding, getDeltaYPerScroll, getEntryAtPosition, getEntryCount, getFocused, getHoveredEntry, getNeighboringEntry, getNeighboringEntry, getNeighboringEntry, getRowBottom, getRowLeft, getRowRight, getRowTop, getRowWidth, getScrollbarX, getSelectedOrNull, getYOfNextEntry, hoveredElement, position, position, position, removeEntries, removeEntry, removeEntryWithoutScrolling, renderEntry, renderList, renderWidget, replaceEntries, scrollTo, setFocused, setScrollY, setSelected, sort, swapEntriesOnPositionsMethods inherited from class net.minecraft.client.gui.widget.ContainerWidget
isDragging, isFocused, mouseClicked, mouseDragged, mouseReleased, setDraggingMethods inherited from class net.minecraft.client.gui.widget.ScrollableWidget
checkScrollbarDragged, drawScrollbar, getMaxScrollY, getScrollbarThumbHeight, getScrollbarThumbY, getScrollY, isInScrollbar, mouseScrolled, onRelease, overflows, refreshScrollMethods inherited from class net.minecraft.client.gui.widget.ClickableWidget
appendDefaultNarrations, appendNarrations, drawScrollableText, drawScrollableText, drawScrollableText, forEachChild, getBottom, getHeight, getMessage, getNarrationMessage, getNarrationMessage, getNavigationFocus, getNavigationOrder, getRight, getWidth, getX, getY, isHovered, isInteractable, isMouseOver, 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, isClickable, 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 aLgrv;a:Lgrw;
-
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 lLgrv;l: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 mLgrv;m: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>Lgrv;<init>(Lgrw;Lfzz;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 aLgdj;a(Lgdd;)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 cLgdj;c(Lgdd;)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 aLgrv;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 aLgrv;a(Ljava/util/Collection;Ljava/util/Map;)V
-
collectOfflinePlayers
- Mappings:
Namespace Name Mixin selector named collectOfflinePlayersLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;collectOfflinePlayers(Ljava/util/Map;)Vintermediary method_73221Lnet/minecraft/class_5521;method_73221(Ljava/util/Map;)Vofficial aLgrv;a(Ljava/util/Map;)V
-
createListEntry
private SocialInteractionsPlayerListEntry createListEntry(UUID uuid, PlayerListEntry playerListEntry) - Mappings:
Namespace Name Mixin selector named createListEntryLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;createListEntry(Ljava/util/UUID;Lnet/minecraft/client/network/PlayerListEntry;)Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListEntry;intermediary method_73222Lnet/minecraft/class_5521;method_73222(Ljava/util/UUID;Lnet/minecraft/class_640;)Lnet/minecraft/class_5519;official aLgrv;a(Ljava/util/UUID;Lgzy;)Lgrt;
-
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 aLgrv;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/Map;intermediary method_45665Lnet/minecraft/class_5521;method_45665(Lnet/minecraft/class_7555;)Ljava/util/Map;official aLgrv;a(Lhah;)Ljava/util/Map;
-
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 ILgrv;I()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 aLgrv;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 JLgrv;J()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 aLgrv;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 dLgrv;d()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 aLgrv;a(Lgzy;Lgrw$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 aLgrv;a(Ljava/util/UUID;)V
-
updateHasDraftReport
public void updateHasDraftReport()- Mappings:
Namespace Name Mixin selector named updateHasDraftReportLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;updateHasDraftReport()Vintermediary method_71089Lnet/minecraft/class_5521;method_71089()Vofficial HLgrv;H()V
-