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 gvp
  • 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 Lgvp;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 Lgvp;a:Leti;
    • 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 Lgvp;b:Lgpn;
    • layout

      private final ThreePartsLayoutWidget layout
      Mappings:
      Namespace Name Mixin selector
      named layout Lnet/minecraft/client/gui/screen/world/SelectWorldScreen;layout:Lnet/minecraft/client/gui/widget/ThreePartsLayoutWidget;
      intermediary field_62187 Lnet/minecraft/class_526;field_62187:Lnet/minecraft/class_8132;
      official e Lgvp;e:Lgmg;
    • 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 Lgvp;f:Lggq;
    • 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 Lgvp;t:Lggq;
    • 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 Lgvp;u:Lggq;
    • 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 Lgvp;v:Lggq;
    • 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 Lgvp;w:Lgvv;
  • Constructor Details

    • SelectWorldScreen

      public SelectWorldScreen(Screen parent)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gui/screen/world/SelectWorldScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;)V
      intermediary <init> Lnet/minecraft/class_526;<init>(Lnet/minecraft/class_437;)V
      official <init> Lgvp;<init>(Lgpn;)V
  • 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_ Lgpn;bg_()V
    • addButtons

      private void addButtons(Consumer<WorldListWidget.WorldEntry> playAction, WorldListWidget levelList)
      Mappings:
      Namespace Name Mixin selector
      named addButtons Lnet/minecraft/client/gui/screen/world/SelectWorldScreen;addButtons(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 Lgvp;a(Ljava/util/function/Consumer;Lgvv;)V
    • createDebugRecreateButton

      private ButtonWidget createDebugRecreateButton()
      Mappings:
      Namespace Name Mixin selector
      named createDebugRecreateButton Lnet/minecraft/client/gui/screen/world/SelectWorldScreen;createDebugRecreateButton()Lnet/minecraft/client/gui/widget/ButtonWidget;
      intermediary method_73450 Lnet/minecraft/class_526;method_73450()Lnet/minecraft/class_4185;
      official o Lgvp;o()Lggq;
    • 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 Lgpn;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_ Lgpn;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_ Lgpn;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 Lgvp;a(Lfld;)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_ Lgpn;aZ_()V