类 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
-
- 所有已实现的接口:
Drawable,Element,ParentElement
@Environment(CLIENT) public class SocialInteractionsPlayerListWidget extends ElementListWidget<SocialInteractionsPlayerListEntry>
- Mappings:
Namespace Name official ecqintermediary net/minecraft/class_5521named net/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget
-
-
嵌套类概要
-
从类继承的嵌套类/接口 net.minecraft.client.gui.widget.ElementListWidget
ElementListWidget.Entry<E extends ElementListWidget.Entry<E>>
-
从类继承的嵌套类/接口 net.minecraft.client.gui.widget.EntryListWidget
EntryListWidget.MoveDirection
-
-
字段概要
字段 修饰符和类型 字段 说明 private @Nullable StringcurrentSearchprivate SocialInteractionsScreenparentprivate List<SocialInteractionsPlayerListEntry>players-
从类继承的字段 net.minecraft.client.gui.widget.EntryListWidget
bottom, centerListVertically, client, headerHeight, height, itemHeight, left, right, top, WHITE_TEXTURE, width
-
从类继承的字段 net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE
-
-
构造器概要
构造器 构造器 说明 SocialInteractionsPlayerListWidget(SocialInteractionsScreen parent, MinecraftClient client, int width, int height, int top, int bottom, int itemHeight)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 private voidfilterPlayers()booleanisEmpty()voidrender(MatrixStack matrices, int mouseX, int mouseY, float delta)voidsetCurrentSearch(String currentSearch)voidsetPlayerOffline(UUID uuid)voidsetPlayerOnline(PlayerListEntry player, SocialInteractionsScreen.Tab tab)voidupdate(Collection<UUID> uuids, double scrollAmount)-
从类继承的方法 net.minecraft.client.gui.widget.ElementListWidget
changeFocus, isSelectedEntry
-
从类继承的方法 net.minecraft.client.gui.widget.EntryListWidget
addEntry, centerScrollOn, children, clearEntries, clickedHeader, ensureSelectedEntryVisible, ensureVisible, getEntry, getEntryAtPosition, getEntryCount, getFocused, getMaxPosition, getMaxScroll, getRowLeft, getRowRight, getRowTop, getRowWidth, getScrollAmount, getScrollbarPositionX, getSelected, isFocused, isMouseOver, keyPressed, method_31322, method_31323, method_35721, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, moveSelection, moveSelectionIf, remove, removeEntry, renderBackground, renderDecorations, renderHeader, renderList, replaceEntries, setLeftPos, setRenderHeader, setRenderSelection, setScrollAmount, setSelected, updateScrollingState, updateSize
-
从类继承的方法 net.minecraft.client.gui.AbstractParentElement
isDragging, setDragging, setFocused
-
从类继承的方法 net.minecraft.client.gui.DrawableHelper
drawCenteredString, drawCenteredText, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, fill, fillGradient, fillGradient, getZOffset, method_29343, method_33284, method_35719, method_35720, setZOffset
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 net.minecraft.client.gui.Element
mouseMoved
-
从接口继承的方法 net.minecraft.client.gui.ParentElement
charTyped, focusOn, hoveredElement, keyReleased, setInitialFocus
-
-
-
-
字段详细资料
-
parent
private final SocialInteractionsScreen parent
- Mappings:
Namespace Name Mixin selector official aLecq;a:Lecr;intermediary field_26867Lnet/minecraft/class_5521;field_26867:Lnet/minecraft/class_5522;named parentLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;parent:Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;
-
players
private final List<SocialInteractionsPlayerListEntry> players
- Mappings:
Namespace Name Mixin selector official pLecq;p:Ljava/util/List;intermediary field_26869Lnet/minecraft/class_5521;field_26869:Ljava/util/List;named playersLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;players:Ljava/util/List;
-
currentSearch
@Nullable private @Nullable String currentSearch
- Mappings:
Namespace Name Mixin selector official qLecq;q:Ljava/lang/String;intermediary field_26870Lnet/minecraft/class_5521;field_26870:Ljava/lang/String;named currentSearchLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;currentSearch:Ljava/lang/String;
-
-
构造器详细资料
-
SocialInteractionsPlayerListWidget
public SocialInteractionsPlayerListWidget(SocialInteractionsScreen parent, MinecraftClient client, int width, int height, int top, int bottom, int itemHeight)
- Mappings:
Namespace Name Mixin selector official <init>Lecq;<init>(Lecr;Ldum;IIIII)Vintermediary <init>Lnet/minecraft/class_5521;<init>(Lnet/minecraft/class_5522;Lnet/minecraft/class_310;IIIII)Vnamed <init>Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;<init>(Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen;Lnet/minecraft/client/MinecraftClient;IIIII)V
-
-
方法详细资料
-
render
public void render(MatrixStack matrices, int mouseX, int mouseY, float delta)
- 指定者:
render在接口中Drawable- 覆盖:
render在类中EntryListWidget<SocialInteractionsPlayerListEntry>- Mappings:
Namespace Name Mixin selector official aLdws;a(Ldpi;IIF)Vintermediary method_25394Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_4587;IIF)Vnamed renderLnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/util/math/MatrixStack;IIF)V
-
update
public void update(Collection<UUID> uuids, double scrollAmount)
- Mappings:
Namespace Name Mixin selector official aLecq;a(Ljava/util/Collection;D)Vintermediary method_31393Lnet/minecraft/class_5521;method_31393(Ljava/util/Collection;D)Vnamed updateLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;update(Ljava/util/Collection;D)V
-
filterPlayers
private void filterPlayers()
- Mappings:
Namespace Name Mixin selector official gLecq;g()Vintermediary method_31349Lnet/minecraft/class_5521;method_31349()Vnamed filterPlayersLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;filterPlayers()V
-
setCurrentSearch
public void setCurrentSearch(String currentSearch)
- Mappings:
Namespace Name Mixin selector official aLecq;a(Ljava/lang/String;)Vintermediary method_31346Lnet/minecraft/class_5521;method_31346(Ljava/lang/String;)Vnamed setCurrentSearchLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;setCurrentSearch(Ljava/lang/String;)V
-
isEmpty
public boolean isEmpty()
- Mappings:
Namespace Name Mixin selector official fLecq;f()Zintermediary method_31348Lnet/minecraft/class_5521;method_31348()Znamed isEmptyLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;isEmpty()Z
-
setPlayerOnline
public void setPlayerOnline(PlayerListEntry player, SocialInteractionsScreen.Tab tab)
- Mappings:
Namespace Name Mixin selector official aLecq;a(Leib;Lecr$a;)Vintermediary method_31345Lnet/minecraft/class_5521;method_31345(Lnet/minecraft/class_640;Lnet/minecraft/class_5522$class_5523;)Vnamed setPlayerOnlineLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;setPlayerOnline(Lnet/minecraft/client/network/PlayerListEntry;Lnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsScreen$Tab;)V
-
setPlayerOffline
public void setPlayerOffline(UUID uuid)
- Mappings:
Namespace Name Mixin selector official aLecq;a(Ljava/util/UUID;)Vintermediary method_31347Lnet/minecraft/class_5521;method_31347(Ljava/util/UUID;)Vnamed setPlayerOfflineLnet/minecraft/client/gui/screen/multiplayer/SocialInteractionsPlayerListWidget;setPlayerOffline(Ljava/util/UUID;)V
-
-