Class WorldListWidget
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.AlwaysSelectedEntryListWidget<WorldListWidget.class_7414>
net.minecraft.client.gui.screen.world.WorldListWidget
- All Implemented Interfaces:
Drawable,Element,Narratable,ParentElement,Selectable
@Environment(CLIENT)
public class WorldListWidget
extends AlwaysSelectedEntryListWidget<WorldListWidget.class_7414>
- Mappings:
Namespace Name official emgintermediary net/minecraft/class_528named net/minecraft/client/gui/screen/world/WorldListWidget
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classfinal classNested classes/interfaces inherited from class net.minecraft.client.gui.widget.EntryListWidget
EntryListWidget.MoveDirectionNested classes/interfaces inherited from interface net.minecraft.client.gui.Selectable
Selectable.SelectionType -
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final Text(package private) static final DateFormatprivate final WorldListWidget.class_7415private static final Durationprivate @Nullable CompletableFuture<List<LevelSummary>>(package private) static final Text(package private) static final Text(package private) static final Text(package private) static final org.slf4j.Loggerprivate final SelectWorldScreen(package private) static final Text(package private) static final Text(package private) static final Identifier(package private) static final IdentifierFields inherited from class net.minecraft.client.gui.widget.EntryListWidget
bottom, centerListVertically, client, headerHeight, height, itemHeight, left, right, top, widthFields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTUREFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
ConstructorsConstructorDescriptionWorldListWidget(SelectWorldScreen parent, MinecraftClient client, int width, int height, int top, int bottom, int itemHeight, Supplier<String> searchFilter, @Nullable WorldListWidget worldListWidget) -
Method Summary
Modifier and TypeMethodDescriptionvoidappendNarrations(NarrationMessageBuilder builder) voidintprotected intprotected booleanprivate booleanmethod_43453(String string, LevelSummary levelSummary) private voidmethod_43454(String string, List<LevelSummary> list) private @Nullable List<LevelSummary>method_43457(CompletableFuture<List<LevelSummary>> completableFuture, Duration duration) voidmethod_43458(Supplier<String> supplier) private voidmethod_43460(Text text) private CompletableFuture<List<LevelSummary>>private voidprivate voidprotected voidmoveSelection(EntryListWidget.MoveDirection direction) voidsetSelected(@Nullable WorldListWidget.class_7414 class_7414) Methods inherited from class net.minecraft.client.gui.widget.AlwaysSelectedEntryListWidget
changeFocusMethods inherited from class net.minecraft.client.gui.widget.EntryListWidget
addEntry, appendNarrations, centerScrollOn, children, clearEntries, clickedHeader, ensureSelectedEntryVisible, ensureVisible, getEntry, getEntryAtPosition, getEntryCount, getFocused, getHoveredEntry, getMaxPosition, getMaxScroll, getRowLeft, getRowRight, getRowTop, getScrollAmount, getSelectedOrNull, getType, isMouseOver, isSelectedEntry, keyPressed, method_35721, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, moveSelectionIf, remove, removeEntry, render, renderBackground, renderDecorations, renderHeader, renderList, replaceEntries, setLeftPos, setRenderBackground, setRenderHeader, setRenderHorizontalShadows, setRenderSelection, setScrollAmount, updateScrollingState, updateSizeMethods inherited from class net.minecraft.client.gui.AbstractParentElement
isDragging, setDragging, setFocusedMethods inherited from class net.minecraft.client.gui.DrawableHelper
drawCenteredText, drawCenteredText, drawCenteredTextWithShadow, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, drawWithOutline, drawWithShadow, fill, fillGradient, fillGradient, fillGradient, getZOffset, setZOffsetMethods 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
mouseMovedMethods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, focusOn, hoveredElement, keyReleased, setInitialFocusMethods inherited from interface net.minecraft.client.gui.Selectable
isNarratable
-
Field Details
-
LOGGER
static final org.slf4j.Logger LOGGER- Mappings:
Namespace Name Mixin selector official aLemg;a:Lorg/slf4j/Logger;intermediary field_3238Lnet/minecraft/class_528;field_3238:Lorg/slf4j/Logger;named LOGGERLnet/minecraft/client/gui/screen/world/WorldListWidget;LOGGER:Lorg/slf4j/Logger;
-
DATE_FORMAT
- Mappings:
Namespace Name Mixin selector official oLemg;o:Ljava/text/DateFormat;intermediary field_19132Lnet/minecraft/class_528;field_19132:Ljava/text/DateFormat;named DATE_FORMATLnet/minecraft/client/gui/screen/world/WorldListWidget;DATE_FORMAT:Ljava/text/DateFormat;
-
UNKNOWN_SERVER_LOCATION
- Mappings:
Namespace Name Mixin selector official pLemg;p:Lzl;intermediary field_19133Lnet/minecraft/class_528;field_19133:Lnet/minecraft/class_2960;named UNKNOWN_SERVER_LOCATIONLnet/minecraft/client/gui/screen/world/WorldListWidget;UNKNOWN_SERVER_LOCATION:Lnet/minecraft/util/Identifier;
-
WORLD_SELECTION_LOCATION
- Mappings:
Namespace Name Mixin selector official qLemg;q:Lzl;intermediary field_19134Lnet/minecraft/class_528;field_19134:Lnet/minecraft/class_2960;named WORLD_SELECTION_LOCATIONLnet/minecraft/client/gui/screen/world/WorldListWidget;WORLD_SELECTION_LOCATION:Lnet/minecraft/util/Identifier;
-
FROM_NEWER_VERSION_FIRST_LINE
- Mappings:
Namespace Name Mixin selector official rLemg;r:Lqy;intermediary field_26606Lnet/minecraft/class_528;field_26606:Lnet/minecraft/class_2561;named FROM_NEWER_VERSION_FIRST_LINELnet/minecraft/client/gui/screen/world/WorldListWidget;FROM_NEWER_VERSION_FIRST_LINE:Lnet/minecraft/text/Text;
-
FROM_NEWER_VERSION_SECOND_LINE
- Mappings:
Namespace Name Mixin selector official sLemg;s:Lqy;intermediary field_26607Lnet/minecraft/class_528;field_26607:Lnet/minecraft/class_2561;named FROM_NEWER_VERSION_SECOND_LINELnet/minecraft/client/gui/screen/world/WorldListWidget;FROM_NEWER_VERSION_SECOND_LINE:Lnet/minecraft/text/Text;
-
SNAPSHOT_FIRST_LINE
- Mappings:
Namespace Name Mixin selector official tLemg;t:Lqy;intermediary field_26608Lnet/minecraft/class_528;field_26608:Lnet/minecraft/class_2561;named SNAPSHOT_FIRST_LINELnet/minecraft/client/gui/screen/world/WorldListWidget;SNAPSHOT_FIRST_LINE:Lnet/minecraft/text/Text;
-
SNAPSHOT_SECOND_LINE
- Mappings:
Namespace Name Mixin selector official uLemg;u:Lqy;intermediary field_26609Lnet/minecraft/class_528;field_26609:Lnet/minecraft/class_2561;named SNAPSHOT_SECOND_LINELnet/minecraft/client/gui/screen/world/WorldListWidget;SNAPSHOT_SECOND_LINE:Lnet/minecraft/text/Text;
-
LOCKED_TEXT
- Mappings:
Namespace Name Mixin selector official vLemg;v:Lqy;intermediary field_26610Lnet/minecraft/class_528;field_26610:Lnet/minecraft/class_2561;named LOCKED_TEXTLnet/minecraft/client/gui/screen/world/WorldListWidget;LOCKED_TEXT:Lnet/minecraft/text/Text;
-
CONVERSION_TOOLTIP
- Mappings:
Namespace Name Mixin selector official wLemg;w:Lqy;intermediary field_34803Lnet/minecraft/class_528;field_34803:Lnet/minecraft/class_2561;named CONVERSION_TOOLTIPLnet/minecraft/client/gui/screen/world/WorldListWidget;CONVERSION_TOOLTIP:Lnet/minecraft/text/Text;
-
field_38995
- Mappings:
Namespace Name Mixin selector official xLemg;x:Ljava/time/Duration;intermediary field_38995Lnet/minecraft/class_528;field_38995:Ljava/time/Duration;named field_38995Lnet/minecraft/client/gui/screen/world/WorldListWidget;field_38995:Ljava/time/Duration;
-
parent
- Mappings:
Namespace Name Mixin selector official yLemg;y:Lemc;intermediary field_3237Lnet/minecraft/class_528;field_3237:Lnet/minecraft/class_526;named parentLnet/minecraft/client/gui/screen/world/WorldListWidget;parent:Lnet/minecraft/client/gui/screen/world/SelectWorldScreen;
-
field_38996
- Mappings:
Namespace Name Mixin selector official zLemg;z:Ljava/util/concurrent/CompletableFuture;intermediary field_38996Lnet/minecraft/class_528;field_38996:Ljava/util/concurrent/CompletableFuture;named field_38996Lnet/minecraft/client/gui/screen/world/WorldListWidget;field_38996:Ljava/util/concurrent/CompletableFuture;
-
field_38994
- Mappings:
Namespace Name Mixin selector official ALemg;A:Lemg$b;intermediary field_38994Lnet/minecraft/class_528;field_38994:Lnet/minecraft/class_528$class_7415;named field_38994Lnet/minecraft/client/gui/screen/world/WorldListWidget;field_38994:Lnet/minecraft/client/gui/screen/world/WorldListWidget$class_7415;
-
-
Constructor Details
-
WorldListWidget
public WorldListWidget(SelectWorldScreen parent, MinecraftClient client, int width, int height, int top, int bottom, int itemHeight, Supplier<String> searchFilter, @Nullable @Nullable WorldListWidget worldListWidget) - Mappings:
Namespace Name Mixin selector official <init>Lemg;<init>(Lemc;Lecu;IIIIILjava/util/function/Supplier;Lemg;)Vintermediary <init>Lnet/minecraft/class_528;<init>(Lnet/minecraft/class_526;Lnet/minecraft/class_310;IIIIILjava/util/function/Supplier;Lnet/minecraft/class_528;)Vnamed <init>Lnet/minecraft/client/gui/screen/world/WorldListWidget;<init>(Lnet/minecraft/client/gui/screen/world/SelectWorldScreen;Lnet/minecraft/client/MinecraftClient;IIIIILjava/util/function/Supplier;Lnet/minecraft/client/gui/screen/world/WorldListWidget;)V
-
-
Method Details
-
method_43458
- Mappings:
Namespace Name Mixin selector official aLemg;a(Ljava/util/function/Supplier;)Vintermediary method_43458Lnet/minecraft/class_528;method_43458(Ljava/util/function/Supplier;)Vnamed method_43458Lnet/minecraft/client/gui/screen/world/WorldListWidget;method_43458(Ljava/util/function/Supplier;)V
-
filter
- Mappings:
Namespace Name Mixin selector official aLemg;a(Ljava/lang/String;)Vintermediary method_2750Lnet/minecraft/class_528;method_2750(Ljava/lang/String;)Vnamed filterLnet/minecraft/client/gui/screen/world/WorldListWidget;filter(Ljava/lang/String;)V
-
method_43462
- Mappings:
Namespace Name Mixin selector official vLemg;v()Ljava/util/concurrent/CompletableFuture;intermediary method_43462Lnet/minecraft/class_528;method_43462()Ljava/util/concurrent/CompletableFuture;named method_43462Lnet/minecraft/client/gui/screen/world/WorldListWidget;method_43462()Ljava/util/concurrent/CompletableFuture;
-
method_43457
@Nullable private @Nullable List<LevelSummary> method_43457(CompletableFuture<List<LevelSummary>> completableFuture, Duration duration) - Mappings:
Namespace Name Mixin selector official aLemg;a(Ljava/util/concurrent/CompletableFuture;Ljava/time/Duration;)Ljava/util/List;intermediary method_43457Lnet/minecraft/class_528;method_43457(Ljava/util/concurrent/CompletableFuture;Ljava/time/Duration;)Ljava/util/List;named method_43457Lnet/minecraft/client/gui/screen/world/WorldListWidget;method_43457(Ljava/util/concurrent/CompletableFuture;Ljava/time/Duration;)Ljava/util/List;
-
method_43454
- Mappings:
Namespace Name Mixin selector official aLemg;a(Ljava/lang/String;Ljava/util/List;)Vintermediary method_43454Lnet/minecraft/class_528;method_43454(Ljava/lang/String;Ljava/util/List;)Vnamed method_43454Lnet/minecraft/client/gui/screen/world/WorldListWidget;method_43454(Ljava/lang/String;Ljava/util/List;)V
-
method_43453
- Mappings:
Namespace Name Mixin selector official aLemg;a(Ljava/lang/String;Ldou;)Zintermediary method_43453Lnet/minecraft/class_528;method_43453(Ljava/lang/String;Lnet/minecraft/class_34;)Znamed method_43453Lnet/minecraft/client/gui/screen/world/WorldListWidget;method_43453(Ljava/lang/String;Lnet/minecraft/world/level/storage/LevelSummary;)Z
-
method_43463
private void method_43463()- Mappings:
Namespace Name Mixin selector official wLemg;w()Vintermediary method_43463Lnet/minecraft/class_528;method_43463()Vnamed method_43463Lnet/minecraft/client/gui/screen/world/WorldListWidget;method_43463()V
-
method_43464
private void method_43464()- Mappings:
Namespace Name Mixin selector official xLemg;x()Vintermediary method_43464Lnet/minecraft/class_528;method_43464()Vnamed method_43464Lnet/minecraft/client/gui/screen/world/WorldListWidget;method_43464()V
-
method_43460
- Mappings:
Namespace Name Mixin selector official aLemg;a(Lqy;)Vintermediary method_43460Lnet/minecraft/class_528;method_43460(Lnet/minecraft/class_2561;)Vnamed method_43460Lnet/minecraft/client/gui/screen/world/WorldListWidget;method_43460(Lnet/minecraft/text/Text;)V
-
getScrollbarPositionX
protected int getScrollbarPositionX()- Overrides:
getScrollbarPositionXin classEntryListWidget<WorldListWidget.class_7414>- Mappings:
Namespace Name Mixin selector official dLeek;d()Iintermediary method_25329Lnet/minecraft/class_350;method_25329()Inamed getScrollbarPositionXLnet/minecraft/client/gui/widget/EntryListWidget;getScrollbarPositionX()I
-
getRowWidth
public int getRowWidth()- Overrides:
getRowWidthin classEntryListWidget<WorldListWidget.class_7414>- Mappings:
Namespace Name Mixin selector official cLeek;c()Iintermediary method_25322Lnet/minecraft/class_350;method_25322()Inamed getRowWidthLnet/minecraft/client/gui/widget/EntryListWidget;getRowWidth()I
-
isFocused
protected boolean isFocused()- Overrides:
isFocusedin classEntryListWidget<WorldListWidget.class_7414>- Mappings:
Namespace Name Mixin selector official aLeek;a()Zintermediary method_25316Lnet/minecraft/class_350;method_25316()Znamed isFocusedLnet/minecraft/client/gui/widget/EntryListWidget;isFocused()Z
-
setSelected
- Overrides:
setSelectedin classEntryListWidget<WorldListWidget.class_7414>- Mappings:
Namespace Name Mixin selector official aLemg;a(Lemg$a;)Vintermediary method_20157Lnet/minecraft/class_528;method_20157(Lnet/minecraft/class_528$class_7414;)Vnamed setSelectedLnet/minecraft/client/gui/screen/world/WorldListWidget;setSelected(Lnet/minecraft/client/gui/screen/world/WorldListWidget$class_7414;)V
-
moveSelection
- Overrides:
moveSelectionin classEntryListWidget<WorldListWidget.class_7414>- Mappings:
Namespace Name Mixin selector official aLeek;a(Leek$b;)Vintermediary method_25335Lnet/minecraft/class_350;method_25335(Lnet/minecraft/class_350$class_5403;)Vnamed moveSelectionLnet/minecraft/client/gui/widget/EntryListWidget;moveSelection(Lnet/minecraft/client/gui/widget/EntryListWidget$MoveDirection;)V
-
getSelectedAsOptional
- Mappings:
Namespace Name Mixin selector official eLemg;e()Ljava/util/Optional;intermediary method_20159Lnet/minecraft/class_528;method_20159()Ljava/util/Optional;named getSelectedAsOptionalLnet/minecraft/client/gui/screen/world/WorldListWidget;getSelectedAsOptional()Ljava/util/Optional;
-
getParent
- Mappings:
Namespace Name Mixin selector official fLemg;f()Lemc;intermediary method_2752Lnet/minecraft/class_528;method_2752()Lnet/minecraft/class_526;named getParentLnet/minecraft/client/gui/screen/world/WorldListWidget;getParent()Lnet/minecraft/client/gui/screen/world/SelectWorldScreen;
-
appendNarrations
- Specified by:
appendNarrationsin interfaceNarratable- Overrides:
appendNarrationsin classAlwaysSelectedEntryListWidget<WorldListWidget.class_7414>- Mappings:
Namespace Name Mixin selector official aLegr;a(Legq;)Vintermediary method_37020Lnet/minecraft/class_6383;method_37020(Lnet/minecraft/class_6382;)Vnamed appendNarrationsLnet/minecraft/client/gui/Narratable;appendNarrations(Lnet/minecraft/client/gui/screen/narration/NarrationMessageBuilder;)V
-