Class SelectWorldScreen

All Implemented Interfaces:
Drawable, Element, Navigable, ParentElement

@Environment(CLIENT) public class SelectWorldScreen extends Screen
Mappings:
Namespace Name
named net/minecraft/client/gui/screen/world/SelectWorldScreen
intermediary net/minecraft/class_526
official gsl
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      named LOGGER Lnet/minecraft/client/gui/screen/world/SelectWorldScreen;LOGGER:Lorg/slf4j/Logger;
      intermediary field_28783 Lnet/minecraft/class_526;field_28783:Lorg/slf4j/Logger;
      official d Lgsl;d:Lorg/slf4j/Logger;
    • DEBUG_GENERATOR_OPTIONS

      public static final GeneratorOptions DEBUG_GENERATOR_OPTIONS
      Mappings:
      Namespace Name Mixin selector
      named DEBUG_GENERATOR_OPTIONS Lnet/minecraft/client/gui/screen/world/SelectWorldScreen;DEBUG_GENERATOR_OPTIONS:Lnet/minecraft/world/gen/GeneratorOptions;
      intermediary field_40457 Lnet/minecraft/class_526;field_40457:Lnet/minecraft/class_5285;
      official a Lgsl;a:Leqn;
    • parent

      protected final Screen parent
      Mappings:
      Namespace Name Mixin selector
      named parent Lnet/minecraft/client/gui/screen/world/SelectWorldScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
      intermediary field_3221 Lnet/minecraft/class_526;field_3221:Lnet/minecraft/class_437;
      official b Lgsl;b:Lgmj;
    • field_62187

      private final ThreePartsLayoutWidget field_62187
      Mappings:
      Namespace Name Mixin selector
      named field_62187 Lnet/minecraft/client/gui/screen/world/SelectWorldScreen;field_62187:Lnet/minecraft/client/gui/widget/ThreePartsLayoutWidget;
      intermediary field_62187 Lnet/minecraft/class_526;field_62187:Lnet/minecraft/class_8132;
      official e Lgsl;e:Lgjc;
    • deleteButton

      @Nullable private @Nullable ButtonWidget deleteButton
      Mappings:
      Namespace Name Mixin selector
      named deleteButton Lnet/minecraft/client/gui/screen/world/SelectWorldScreen;deleteButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
      intermediary field_3219 Lnet/minecraft/class_526;field_3219:Lnet/minecraft/class_4185;
      official f Lgsl;f:Lgdp;
    • selectButton

      @Nullable private @Nullable ButtonWidget selectButton
      Mappings:
      Namespace Name Mixin selector
      named selectButton Lnet/minecraft/client/gui/screen/world/SelectWorldScreen;selectButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
      intermediary field_3224 Lnet/minecraft/class_526;field_3224:Lnet/minecraft/class_4185;
      official t Lgsl;t:Lgdp;
    • editButton

      @Nullable private @Nullable ButtonWidget editButton
      Mappings:
      Namespace Name Mixin selector
      named editButton Lnet/minecraft/client/gui/screen/world/SelectWorldScreen;editButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
      intermediary field_3215 Lnet/minecraft/class_526;field_3215:Lnet/minecraft/class_4185;
      official u Lgsl;u:Lgdp;
    • recreateButton

      @Nullable private @Nullable ButtonWidget recreateButton
      Mappings:
      Namespace Name Mixin selector
      named recreateButton Lnet/minecraft/client/gui/screen/world/SelectWorldScreen;recreateButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
      intermediary field_3216 Lnet/minecraft/class_526;field_3216:Lnet/minecraft/class_4185;
      official v Lgsl;v:Lgdp;
    • levelList

      @Nullable private @Nullable WorldListWidget levelList
      Mappings:
      Namespace Name Mixin selector
      named levelList Lnet/minecraft/client/gui/screen/world/SelectWorldScreen;levelList:Lnet/minecraft/client/gui/screen/world/WorldListWidget;
      intermediary field_3218 Lnet/minecraft/class_526;field_3218:Lnet/minecraft/class_528;
      official w Lgsl;w:Lgsr;
  • Constructor Details

    • SelectWorldScreen

      public SelectWorldScreen(Screen screen)
  • Method Details

    • init

      protected void init()
      Called when a screen should be initialized.

      This method is called when this screen is opened or resized.

      Overrides:
      init in class Screen
      Mappings:
      Namespace Name Mixin selector
      named init Lnet/minecraft/client/gui/screen/Screen;init()V
      intermediary method_25426 Lnet/minecraft/class_437;method_25426()V
      official bg_ Lgmj;bg_()V
    • method_74221

      private void method_74221(Consumer<WorldListWidget.WorldEntry> consumer, WorldListWidget worldListWidget)
      Mappings:
      Namespace Name Mixin selector
      named method_74221 Lnet/minecraft/client/gui/screen/world/SelectWorldScreen;method_74221(Ljava/util/function/Consumer;Lnet/minecraft/client/gui/screen/world/WorldListWidget;)V
      intermediary method_74221 Lnet/minecraft/class_526;method_74221(Ljava/util/function/Consumer;Lnet/minecraft/class_528;)V
      official a Lgsl;a(Ljava/util/function/Consumer;Lgsr;)V
    • method_73450

      private ButtonWidget method_73450()
      Mappings:
      Namespace Name Mixin selector
      named method_73450 Lnet/minecraft/client/gui/screen/world/SelectWorldScreen;method_73450()Lnet/minecraft/client/gui/widget/ButtonWidget;
      intermediary method_73450 Lnet/minecraft/class_526;method_73450()Lnet/minecraft/class_4185;
      official o Lgsl;o()Lgdp;
    • refreshWidgetPositions

      protected void refreshWidgetPositions()
      Overrides:
      refreshWidgetPositions in class Screen
      Mappings:
      Namespace Name Mixin selector
      named refreshWidgetPositions Lnet/minecraft/client/gui/screen/Screen;refreshWidgetPositions()V
      intermediary method_48640 Lnet/minecraft/class_437;method_48640()V
      official c Lgmj;c()V
    • setInitialFocus

      protected void setInitialFocus()
      This should be overridden with a call to Screen.setInitialFocus(Element) to set the element that is initially focused.
      Overrides:
      setInitialFocus in class Screen
      Mappings:
      Namespace Name Mixin selector
      named setInitialFocus Lnet/minecraft/client/gui/screen/Screen;setInitialFocus()V
      intermediary method_56131 Lnet/minecraft/class_437;method_56131()V
      official aI_ Lgmj;aI_()V
    • close

      public void close()
      Overrides:
      close in class Screen
      Mappings:
      Namespace Name Mixin selector
      named close Lnet/minecraft/client/gui/screen/Screen;close()V
      intermediary method_25419 Lnet/minecraft/class_437;method_25419()V
      official aX_ Lgmj;aX_()V
    • worldSelected

      public void worldSelected(@Nullable @Nullable LevelSummary levelSummary)
      Mappings:
      Namespace Name Mixin selector
      named worldSelected Lnet/minecraft/client/gui/screen/world/SelectWorldScreen;worldSelected(Lnet/minecraft/world/level/storage/LevelSummary;)V
      intermediary method_19940 Lnet/minecraft/class_526;method_19940(Lnet/minecraft/class_34;)V
      official a Lgsl;a(Lfii;)V
    • removed

      public void removed()
      Overrides:
      removed in class Screen
      Mappings:
      Namespace Name Mixin selector
      named removed Lnet/minecraft/client/gui/screen/Screen;removed()V
      intermediary method_25432 Lnet/minecraft/class_437;method_25432()V
      official aZ_ Lgmj;aZ_()V