Class SocialInteractionsPlayerListWidget
java.lang.Object
net.minecraft.client.gui.DrawableHelper
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
,ParentElement
@Environment(CLIENT) public class SocialInteractionsPlayerListWidget extends ElementListWidget<SocialInteractionsPlayerListEntry>
- Mappings:
Namespace Name official dyp
intermediary net/minecraft/class_5521
named 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 class net.minecraft.client.gui.widget.EntryListWidget
EntryListWidget.MoveDirection
-
Field Summary
Fields Modifier and Type Field Description private String
currentSearch
private MinecraftClient
minecraftClient
private SocialInteractionsScreen
parent
private List<SocialInteractionsPlayerListEntry>
players
Fields inherited from class net.minecraft.client.gui.widget.EntryListWidget
bottom, centerListVertically, client, headerHeight, height, itemHeight, left, right, top, width
Fields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE
-
Constructor Summary
Constructors Constructor Description SocialInteractionsPlayerListWidget(SocialInteractionsScreen parent, MinecraftClient client, int width, int height, int top, int bottom, int itemHeight)
-
Method Summary
Modifier and Type Method Description private void
filterPlayers()
boolean
isEmpty()
void
render(MatrixStack matrices, int mouseX, int mouseY, float delta)
void
setCurrentSearch(String currentSearch)
void
setPlayerOffline(UUID uuid)
void
setPlayerOnline(PlayerListEntry player, SocialInteractionsScreen.Tab tab)
void
update(Collection<UUID> uuids, double scrollAmount)
Methods inherited from class net.minecraft.client.gui.widget.ElementListWidget
changeFocus, isSelectedItem
Methods inherited from class net.minecraft.client.gui.widget.EntryListWidget
addEntry, centerScrollOn, children, clearEntries, clickedHeader, ensureVisible, getEntry, getEntryAtPosition, getFocused, getItemCount, getMaxPosition, getMaxScroll, getRowLeft, getRowTop, getRowWidth, getScrollAmount, getScrollbarPositionX, getSelected, isFocused, isMouseOver, keyPressed, method_30015, method_31322, method_31323, method_31383, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, moveSelection, moveSelectionIf, remove, removeEntry, renderBackground, renderDecorations, renderHeader, renderList, replaceEntries, setLeftPos, setRenderHeader, setRenderSelection, setScrollAmount, setSelected, updateScrollingState, updateSize
Methods inherited from class net.minecraft.client.gui.AbstractParentElement
isDragging, setDragging, setFocused
Methods inherited from class net.minecraft.client.gui.DrawableHelper
drawCenteredString, drawCenteredText, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, fill, fillGradient, fillGradient, getZOffset, method_29343, method_33284, setZOffset
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
mouseMoved
Methods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, focusOn, hoveredElement, keyReleased, setInitialFocus
-
Field Details
-
parent
- Mappings:
Namespace Name Mixin selector official a
Ldyp;a:Ldyq;
intermediary field_26867
Lnet/minecraft/class_5521;field_26867:Lnet/minecraft/class_5522;
named parent
Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;parent:Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;
-
minecraftClient
- Mappings:
Namespace Name Mixin selector official o
Ldyp;o:Ldqk;
intermediary field_26868
Lnet/minecraft/class_5521;field_26868:Lnet/minecraft/class_310;
named minecraftClient
Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;minecraftClient:Lnet/minecraft/client/MinecraftClient;
-
players
- Mappings:
Namespace Name Mixin selector official p
Ldyp;p:Ljava/util/List;
intermediary field_26869
Lnet/minecraft/class_5521;field_26869:Ljava/util/List;
named players
Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;players:Ljava/util/List;
-
currentSearch
- Mappings:
Namespace Name Mixin selector official q
Ldyp;q:Ljava/lang/String;
intermediary field_26870
Lnet/minecraft/class_5521;field_26870:Ljava/lang/String;
named currentSearch
Lnet/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 official <init>
Ldyp;<init>(Ldyq;Ldqk;IIIII)V
intermediary <init>
Lnet/minecraft/class_5521;<init>(Lnet/minecraft/class_5522;Lnet/minecraft/class_310;IIIII)V
named <init>
Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;<init>(Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;Lnet/minecraft/client/MinecraftClient;IIIII)V
-
-
Method Details
-
render
- Specified by:
render
in interfaceDrawable
- Overrides:
render
in classEntryListWidget<SocialInteractionsPlayerListEntry>
- Mappings:
Namespace Name Mixin selector official a
Ldsq;a(Ldlr;IIF)V
intermediary method_25394
Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_4587;IIF)V
named render
Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/util/math/MatrixStack;IIF)V
-
update
- Mappings:
Namespace Name Mixin selector official a
Ldyp;a(Ljava/util/Collection;D)V
intermediary method_31393
Lnet/minecraft/class_5521;method_31393(Ljava/util/Collection;D)V
named update
Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;update(Ljava/util/Collection;D)V
-
filterPlayers
private void filterPlayers()- Mappings:
Namespace Name Mixin selector official g
Ldyp;g()V
intermediary method_31349
Lnet/minecraft/class_5521;method_31349()V
named filterPlayers
Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;filterPlayers()V
-
setCurrentSearch
- Mappings:
Namespace Name Mixin selector official a
Ldyp;a(Ljava/lang/String;)V
intermediary method_31346
Lnet/minecraft/class_5521;method_31346(Ljava/lang/String;)V
named setCurrentSearch
Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;setCurrentSearch(Ljava/lang/String;)V
-
isEmpty
public boolean isEmpty()- Mappings:
Namespace Name Mixin selector official f
Ldyp;f()Z
intermediary method_31348
Lnet/minecraft/class_5521;method_31348()Z
named isEmpty
Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;isEmpty()Z
-
setPlayerOnline
- Mappings:
Namespace Name Mixin selector official a
Ldyp;a(Leec;Ldyq$a;)V
intermediary method_31345
Lnet/minecraft/class_5521;method_31345(Lnet/minecraft/class_640;Lnet/minecraft/class_5522$class_5523;)V
named setPlayerOnline
Lnet/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 official a
Ldyp;a(Ljava/util/UUID;)V
intermediary method_31347
Lnet/minecraft/class_5521;method_31347(Ljava/util/UUID;)V
named setPlayerOffline
Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;setPlayerOffline(Ljava/util/UUID;)V
-