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/SocialInteractionsPlayerListWidget
intermediary net/minecraft/class_5521
official fsp
-
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
Modifier and TypeFieldDescriptionprivate final SocialInteractionsScreen
private final List
<SocialInteractionsPlayerListEntry> Fields inherited from class net.minecraft.client.gui.widget.EntryListWidget
centerListVertically, client, field_45909, headerHeight, itemHeight
Fields inherited from class net.minecraft.client.gui.widget.ClickableWidget
active, alpha, height, hovered, visible, width
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
Constructor Summary
ConstructorDescriptionSocialInteractionsPlayerListWidget
(SocialInteractionsScreen parent, MinecraftClient client, int width, int height, int y, int itemHeight) -
Method Summary
Modifier and TypeMethodDescriptionprivate static Collection
<com.mojang.authlib.GameProfile> protected void
drawHeaderAndFooterSeparators
(DrawContext context) protected void
drawMenuListBackground
(DrawContext context) protected void
enableScissor
(DrawContext context) private void
boolean
isEmpty()
private void
markOfflineMembers
(Map<UUID, SocialInteractionsPlayerListEntry> entries, boolean includeOffline) private void
refresh
(Collection<SocialInteractionsPlayerListEntry> players, double scrollAmount) void
setCurrentSearch
(String currentSearch) void
setPlayerOffline
(UUID uuid) void
setPlayerOnline
(PlayerListEntry player, SocialInteractionsScreen.Tab tab) private void
setPlayers
(Collection<UUID> playerUuids, Map<UUID, SocialInteractionsPlayerListEntry> entriesByUuids) private void
void
update
(Collection<UUID> uuids, double scrollAmount, boolean includeOffline) Methods inherited from class net.minecraft.client.gui.widget.ElementListWidget
appendClickableNarrations, getNavigationPath, getType, isSelectedEntry, setFocused
Methods 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, updateScrollingState
Methods inherited from class net.minecraft.client.gui.widget.ContainerWidget
isDragging, isFocused, setDragging, setFocused
Methods 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, setY
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.gui.Element
getNavigationFocus, mouseMoved
Methods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrder
Methods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, getFocusedPath, hoveredElement, keyPressed, keyReleased
Methods inherited from interface net.minecraft.client.gui.widget.Widget
setPosition
-
Field Details
-
parent
- Mappings:
Namespace Name Mixin selector named parent
Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;parent:Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;
intermediary field_26867
Lnet/minecraft/class_5521;field_26867:Lnet/minecraft/class_5522;
official a
Lfsp;a:Lfsq;
-
players
- Mappings:
Namespace Name Mixin selector named players
Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;players:Ljava/util/List;
intermediary field_26869
Lnet/minecraft/class_5521;field_26869:Ljava/util/List;
official m
Lfsp;m:Ljava/util/List;
-
currentSearch
- Mappings:
Namespace Name Mixin selector named currentSearch
Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;currentSearch:Ljava/lang/String;
intermediary field_26870
Lnet/minecraft/class_5521;field_26870:Ljava/lang/String;
official n
Lfsp;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)V
intermediary <init>
Lnet/minecraft/class_5521;<init>(Lnet/minecraft/class_5522;Lnet/minecraft/class_310;IIII)V
official <init>
Lfsp;<init>(Lfsq;Lfgi;IIII)V
-
-
Method Details
-
drawMenuListBackground
- Overrides:
drawMenuListBackground
in classEntryListWidget<SocialInteractionsPlayerListEntry>
- Mappings:
Namespace Name Mixin selector named drawMenuListBackground
Lnet/minecraft/client/gui/widget/EntryListWidget;drawMenuListBackground(Lnet/minecraft/client/gui/DrawContext;)V
intermediary method_57715
Lnet/minecraft/class_350;method_57715(Lnet/minecraft/class_332;)V
official b
Lfib;b(Lfht;)V
-
enableScissor
- Overrides:
enableScissor
in classEntryListWidget<SocialInteractionsPlayerListEntry>
- Mappings:
Namespace Name Mixin selector named enableScissor
Lnet/minecraft/client/gui/widget/EntryListWidget;enableScissor(Lnet/minecraft/client/gui/DrawContext;)V
intermediary method_49603
Lnet/minecraft/class_350;method_49603(Lnet/minecraft/class_332;)V
official c
Lfib;c(Lfht;)V
-
update
- Mappings:
Namespace Name Mixin selector named update
Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;update(Ljava/util/Collection;DZ)V
intermediary method_31393
Lnet/minecraft/class_5521;method_31393(Ljava/util/Collection;DZ)V
official a
Lfsp;a(Ljava/util/Collection;DZ)V
-
setPlayers
private void setPlayers(Collection<UUID> playerUuids, Map<UUID, SocialInteractionsPlayerListEntry> entriesByUuids) - Mappings:
Namespace Name Mixin selector named setPlayers
Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;setPlayers(Ljava/util/Collection;Ljava/util/Map;)V
intermediary method_44699
Lnet/minecraft/class_5521;method_44699(Ljava/util/Collection;Ljava/util/Map;)V
official a
Lfsp;a(Ljava/util/Collection;Ljava/util/Map;)V
-
markOfflineMembers
private void markOfflineMembers(Map<UUID, SocialInteractionsPlayerListEntry> entries, boolean includeOffline) - Mappings:
Namespace Name Mixin selector named markOfflineMembers
Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;markOfflineMembers(Ljava/util/Map;Z)V
intermediary method_44759
Lnet/minecraft/class_5521;method_44759(Ljava/util/Map;Z)V
official a
Lfsp;a(Ljava/util/Map;Z)V
-
collectReportableProfiles
- Mappings:
Namespace Name Mixin selector named collectReportableProfiles
Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;collectReportableProfiles(Lnet/minecraft/client/session/report/log/ChatLog;)Ljava/util/Collection;
intermediary method_45665
Lnet/minecraft/class_5521;method_45665(Lnet/minecraft/class_7555;)Ljava/util/Collection;
official a
Lfsp;a(Lfzu;)Ljava/util/Collection;
-
sortPlayers
private void sortPlayers()- Mappings:
Namespace Name Mixin selector named sortPlayers
Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;sortPlayers()V
intermediary method_44762
Lnet/minecraft/class_5521;method_44762()V
official J
Lfsp;J()V
-
refresh
- Mappings:
Namespace Name Mixin selector named refresh
Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;refresh(Ljava/util/Collection;D)V
intermediary method_44698
Lnet/minecraft/class_5521;method_44698(Ljava/util/Collection;D)V
official a
Lfsp;a(Ljava/util/Collection;D)V
-
filterPlayers
private void filterPlayers()- Mappings:
Namespace Name Mixin selector named filterPlayers
Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;filterPlayers()V
intermediary method_31349
Lnet/minecraft/class_5521;method_31349()V
official K
Lfsp;K()V
-
setCurrentSearch
- Mappings:
Namespace Name Mixin selector named setCurrentSearch
Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;setCurrentSearch(Ljava/lang/String;)V
intermediary method_31346
Lnet/minecraft/class_5521;method_31346(Ljava/lang/String;)V
official a
Lfsp;a(Ljava/lang/String;)V
-
isEmpty
public boolean isEmpty()- Mappings:
Namespace Name Mixin selector named isEmpty
Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;isEmpty()Z
intermediary method_31348
Lnet/minecraft/class_5521;method_31348()Z
official c
Lfsp;c()Z
-
setPlayerOnline
- Mappings:
Namespace Name Mixin selector named setPlayerOnline
Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;setPlayerOnline(Lnet/minecraft/client/network/PlayerListEntry;Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen$Tab;)V
intermediary method_31345
Lnet/minecraft/class_5521;method_31345(Lnet/minecraft/class_640;Lnet/minecraft/class_5522$class_5523;)V
official a
Lfsp;a(Lfzk;Lfsq$a;)V
-
setPlayerOffline
- Mappings:
Namespace Name Mixin selector named setPlayerOffline
Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;setPlayerOffline(Ljava/util/UUID;)V
intermediary method_31347
Lnet/minecraft/class_5521;method_31347(Ljava/util/UUID;)V
official a
Lfsp;a(Ljava/util/UUID;)V
-