类 WorldListWidget

    • 字段详细资料

      • LOGGER

        private static final Logger LOGGER
        Mappings:
        Namespace Name Mixin selector
        official a Leda;a:Lorg/apache/logging/log4j/Logger;
        intermediary field_3238 Lnet/minecraft/class_528;field_3238:Lorg/apache/logging/log4j/Logger;
        named LOGGER Lnet/minecraft/client/gui/screen/world/WorldListWidget;LOGGER:Lorg/apache/logging/log4j/Logger;
      • DATE_FORMAT

        private static final DateFormat DATE_FORMAT
        Mappings:
        Namespace Name Mixin selector
        official p Leda;p:Ljava/text/DateFormat;
        intermediary field_19132 Lnet/minecraft/class_528;field_19132:Ljava/text/DateFormat;
        named DATE_FORMAT Lnet/minecraft/client/gui/screen/world/WorldListWidget;DATE_FORMAT:Ljava/text/DateFormat;
      • UNKNOWN_SERVER_LOCATION

        private static final Identifier UNKNOWN_SERVER_LOCATION
        Mappings:
        Namespace Name Mixin selector
        official q Leda;q:Lwp;
        intermediary field_19133 Lnet/minecraft/class_528;field_19133:Lnet/minecraft/class_2960;
        named UNKNOWN_SERVER_LOCATION Lnet/minecraft/client/gui/screen/world/WorldListWidget;UNKNOWN_SERVER_LOCATION:Lnet/minecraft/util/Identifier;
      • WORLD_SELECTION_LOCATION

        private static final Identifier WORLD_SELECTION_LOCATION
        Mappings:
        Namespace Name Mixin selector
        official r Leda;r:Lwp;
        intermediary field_19134 Lnet/minecraft/class_528;field_19134:Lnet/minecraft/class_2960;
        named WORLD_SELECTION_LOCATION Lnet/minecraft/client/gui/screen/world/WorldListWidget;WORLD_SELECTION_LOCATION:Lnet/minecraft/util/Identifier;
      • FROM_NEWER_VERSION_FIRST_LINE

        private static final Text FROM_NEWER_VERSION_FIRST_LINE
        Mappings:
        Namespace Name Mixin selector
        official s Leda;s:Lon;
        intermediary field_26606 Lnet/minecraft/class_528;field_26606:Lnet/minecraft/class_2561;
        named FROM_NEWER_VERSION_FIRST_LINE Lnet/minecraft/client/gui/screen/world/WorldListWidget;FROM_NEWER_VERSION_FIRST_LINE:Lnet/minecraft/text/Text;
      • FROM_NEWER_VERSION_SECOND_LINE

        private static final Text FROM_NEWER_VERSION_SECOND_LINE
        Mappings:
        Namespace Name Mixin selector
        official t Leda;t:Lon;
        intermediary field_26607 Lnet/minecraft/class_528;field_26607:Lnet/minecraft/class_2561;
        named FROM_NEWER_VERSION_SECOND_LINE Lnet/minecraft/client/gui/screen/world/WorldListWidget;FROM_NEWER_VERSION_SECOND_LINE:Lnet/minecraft/text/Text;
      • SNAPSHOT_FIRST_LINE

        private static final Text SNAPSHOT_FIRST_LINE
        Mappings:
        Namespace Name Mixin selector
        official u Leda;u:Lon;
        intermediary field_26608 Lnet/minecraft/class_528;field_26608:Lnet/minecraft/class_2561;
        named SNAPSHOT_FIRST_LINE Lnet/minecraft/client/gui/screen/world/WorldListWidget;SNAPSHOT_FIRST_LINE:Lnet/minecraft/text/Text;
      • SNAPSHOT_SECOND_LINE

        private static final Text SNAPSHOT_SECOND_LINE
        Mappings:
        Namespace Name Mixin selector
        official v Leda;v:Lon;
        intermediary field_26609 Lnet/minecraft/class_528;field_26609:Lnet/minecraft/class_2561;
        named SNAPSHOT_SECOND_LINE Lnet/minecraft/client/gui/screen/world/WorldListWidget;SNAPSHOT_SECOND_LINE:Lnet/minecraft/text/Text;
      • LOCKED_TEXT

        private static final Text LOCKED_TEXT
        Mappings:
        Namespace Name Mixin selector
        official w Leda;w:Lon;
        intermediary field_26610 Lnet/minecraft/class_528;field_26610:Lnet/minecraft/class_2561;
        named LOCKED_TEXT Lnet/minecraft/client/gui/screen/world/WorldListWidget;LOCKED_TEXT:Lnet/minecraft/text/Text;
      • PRE_WORLDHEIGHT_TEXT

        private static final Text PRE_WORLDHEIGHT_TEXT
        Mappings:
        Namespace Name Mixin selector
        official x Leda;x:Lon;
        intermediary field_28857 Lnet/minecraft/class_528;field_28857:Lnet/minecraft/class_2561;
        named PRE_WORLDHEIGHT_TEXT Lnet/minecraft/client/gui/screen/world/WorldListWidget;PRE_WORLDHEIGHT_TEXT:Lnet/minecraft/text/Text;
      • parent

        private final SelectWorldScreen parent
        Mappings:
        Namespace Name Mixin selector
        official y Leda;y:Lecx;
        intermediary field_3237 Lnet/minecraft/class_528;field_3237:Lnet/minecraft/class_526;
        named parent Lnet/minecraft/client/gui/screen/world/WorldListWidget;parent:Lnet/minecraft/client/gui/screen/world/SelectWorldScreen;
      • levels

        @Nullable
        private @Nullable List<LevelSummary> levels
        Mappings:
        Namespace Name Mixin selector
        official z Leda;z:Ljava/util/List;
        intermediary field_3239 Lnet/minecraft/class_528;field_3239:Ljava/util/List;
        named levels Lnet/minecraft/client/gui/screen/world/WorldListWidget;levels:Ljava/util/List;
    • 构造器详细资料

      • WorldListWidget

        public WorldListWidget​(SelectWorldScreen parent,
                               MinecraftClient client,
                               int width,
                               int height,
                               int top,
                               int bottom,
                               int itemHeight,
                               Supplier<String> searchFilter,
                               @Nullable
                               @Nullable WorldListWidget list)
        Mappings:
        Namespace Name Mixin selector
        official <init> Leda;<init>(Lecx;Ldum;IIIIILjava/util/function/Supplier;Leda;)V
        intermediary <init> Lnet/minecraft/class_528;<init>(Lnet/minecraft/class_526;Lnet/minecraft/class_310;IIIIILjava/util/function/Supplier;Lnet/minecraft/class_528;)V
        named <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
    • 方法详细资料

      • filter

        public void filter​(Supplier<String> supplier,
                           boolean load)
        Mappings:
        Namespace Name Mixin selector
        official a Leda;a(Ljava/util/function/Supplier;Z)V
        intermediary method_2750 Lnet/minecraft/class_528;method_2750(Ljava/util/function/Supplier;Z)V
        named filter Lnet/minecraft/client/gui/screen/world/WorldListWidget;filter(Ljava/util/function/Supplier;Z)V
      • getScrollbarPositionX

        protected int getScrollbarPositionX()
        覆盖:
        getScrollbarPositionX 在类中 EntryListWidget<WorldListWidget.Entry>
        Mappings:
        Namespace Name Mixin selector
        official e Ldvs;e()I
        intermediary method_25329 Lnet/minecraft/class_350;method_25329()I
        named getScrollbarPositionX Lnet/minecraft/client/gui/widget/EntryListWidget;getScrollbarPositionX()I
      • getRowWidth

        public int getRowWidth()
        覆盖:
        getRowWidth 在类中 EntryListWidget<WorldListWidget.Entry>
        Mappings:
        Namespace Name Mixin selector
        official d Ldvs;d()I
        intermediary method_25322 Lnet/minecraft/class_350;method_25322()I
        named getRowWidth Lnet/minecraft/client/gui/widget/EntryListWidget;getRowWidth()I
      • isFocused

        protected boolean isFocused()
        覆盖:
        isFocused 在类中 EntryListWidget<WorldListWidget.Entry>
        Mappings:
        Namespace Name Mixin selector
        official b Ldvs;b()Z
        intermediary method_25316 Lnet/minecraft/class_350;method_25316()Z
        named isFocused Lnet/minecraft/client/gui/widget/EntryListWidget;isFocused()Z
      • setSelected

        public void setSelected​(@Nullable
                                @Nullable WorldListWidget.Entry entry)
        覆盖:
        setSelected 在类中 EntryListWidget<WorldListWidget.Entry>
        Mappings:
        Namespace Name Mixin selector
        official a Leda;a(Leda$a;)V
        intermediary method_20157 Lnet/minecraft/class_528;method_20157(Lnet/minecraft/class_528$class_4272;)V
        named setSelected Lnet/minecraft/client/gui/screen/world/WorldListWidget;setSelected(Lnet/minecraft/client/gui/screen/world/WorldListWidget$Entry;)V
      • moveSelection

        protected void moveSelection​(EntryListWidget.MoveDirection direction)
        覆盖:
        moveSelection 在类中 EntryListWidget<WorldListWidget.Entry>
        Mappings:
        Namespace Name Mixin selector
        official a Ldvs;a(Ldvs$b;)V
        intermediary method_25335 Lnet/minecraft/class_350;method_25335(Lnet/minecraft/class_350$class_5403;)V
        named moveSelection Lnet/minecraft/client/gui/widget/EntryListWidget;moveSelection(Lnet/minecraft/client/gui/widget/EntryListWidget$MoveDirection;)V
      • getSelectedAsOptional

        public Optional<WorldListWidget.Entry> getSelectedAsOptional()
        Mappings:
        Namespace Name Mixin selector
        official f Leda;f()Ljava/util/Optional;
        intermediary method_20159 Lnet/minecraft/class_528;method_20159()Ljava/util/Optional;
        named getSelectedAsOptional Lnet/minecraft/client/gui/screen/world/WorldListWidget;getSelectedAsOptional()Ljava/util/Optional;
      • getParent

        public SelectWorldScreen getParent()
        Mappings:
        Namespace Name Mixin selector
        official g Leda;g()Lecx;
        intermediary method_2752 Lnet/minecraft/class_528;method_2752()Lnet/minecraft/class_526;
        named getParent Lnet/minecraft/client/gui/screen/world/WorldListWidget;getParent()Lnet/minecraft/client/gui/screen/world/SelectWorldScreen;