Class RealmsResetNormalWorldScreen

All Implemented Interfaces:
Drawable, Element, Navigable, ParentElement

@Environment(CLIENT) public class RealmsResetNormalWorldScreen extends RealmsScreen
Mappings:
Namespace Name
official etf
intermediary net/minecraft/class_4409
named net/minecraft/client/realms/gui/screen/RealmsResetNormalWorldScreen
  • Field Details

    • RESET_SEED_TEXT

      private static final Text RESET_SEED_TEXT
      Mappings:
      Namespace Name Mixin selector
      official b Letf;b:Lvf;
      intermediary field_26506 Lnet/minecraft/class_4409;field_26506:Lnet/minecraft/class_2561;
      named RESET_SEED_TEXT Lnet/minecraft/client/realms/gui/screen/RealmsResetNormalWorldScreen;RESET_SEED_TEXT:Lnet/minecraft/text/Text;
    • TITLE

      public static final Text TITLE
      Mappings:
      Namespace Name Mixin selector
      official a Letf;a:Lvf;
      intermediary field_46114 Lnet/minecraft/class_4409;field_46114:Lnet/minecraft/class_2561;
      named TITLE Lnet/minecraft/client/realms/gui/screen/RealmsResetNormalWorldScreen;TITLE:Lnet/minecraft/text/Text;
    • field_45278

      private static final int field_45278
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official c Letf;c:I
      intermediary field_45278 Lnet/minecraft/class_4409;field_45278:I
      named field_45278 Lnet/minecraft/client/realms/gui/screen/RealmsResetNormalWorldScreen;field_45278:I
    • field_45279

      private static final int field_45279
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official v Letf;v:I
      intermediary field_45279 Lnet/minecraft/class_4409;field_45279:I
      named field_45279 Lnet/minecraft/client/realms/gui/screen/RealmsResetNormalWorldScreen;field_45279:I
    • layout

      private final ThreePartsLayoutWidget layout
      Mappings:
      Namespace Name Mixin selector
      official w Letf;w:Lfaq;
      intermediary field_45280 Lnet/minecraft/class_4409;field_45280:Lnet/minecraft/class_8132;
      named layout Lnet/minecraft/client/realms/gui/screen/RealmsResetNormalWorldScreen;layout:Lnet/minecraft/client/gui/widget/ThreePartsLayoutWidget;
    • callback

      private final Consumer<ResetWorldInfo> callback
      Mappings:
      Namespace Name Mixin selector
      official x Letf;x:Ljava/util/function/Consumer;
      intermediary field_27938 Lnet/minecraft/class_4409;field_27938:Ljava/util/function/Consumer;
      named callback Lnet/minecraft/client/realms/gui/screen/RealmsResetNormalWorldScreen;callback:Ljava/util/function/Consumer;
    • seedEdit

      private TextFieldWidget seedEdit
      Mappings:
      Namespace Name Mixin selector
      official y Letf;y:Lexp;
      intermediary field_19984 Lnet/minecraft/class_4409;field_19984:Lnet/minecraft/class_342;
      named seedEdit Lnet/minecraft/client/realms/gui/screen/RealmsResetNormalWorldScreen;seedEdit:Lnet/minecraft/client/gui/widget/TextFieldWidget;
    • generatorType

      private RealmsWorldGeneratorType generatorType
      Mappings:
      Namespace Name Mixin selector
      official z Letf;z:Letv;
      intermediary field_27939 Lnet/minecraft/class_4409;field_27939:Lnet/minecraft/class_5672;
      named generatorType Lnet/minecraft/client/realms/gui/screen/RealmsResetNormalWorldScreen;generatorType:Lnet/minecraft/client/realms/gui/screen/RealmsWorldGeneratorType;
    • mapFeatures

      private boolean mapFeatures
      Mappings:
      Namespace Name Mixin selector
      official A Letf;A:Z
      intermediary field_27940 Lnet/minecraft/class_4409;field_27940:Z
      named mapFeatures Lnet/minecraft/client/realms/gui/screen/RealmsResetNormalWorldScreen;mapFeatures:Z
    • experiments

      private final Set<String> experiments
      Mappings:
      Namespace Name Mixin selector
      official B Letf;B:Ljava/util/Set;
      intermediary field_46708 Lnet/minecraft/class_4409;field_46708:Ljava/util/Set;
      named experiments Lnet/minecraft/client/realms/gui/screen/RealmsResetNormalWorldScreen;experiments:Ljava/util/Set;
    • parentTitle

      private final Text parentTitle
      Mappings:
      Namespace Name Mixin selector
      official C Letf;C:Lvf;
      intermediary field_24206 Lnet/minecraft/class_4409;field_24206:Lnet/minecraft/class_2561;
      named parentTitle Lnet/minecraft/client/realms/gui/screen/RealmsResetNormalWorldScreen;parentTitle:Lnet/minecraft/text/Text;
  • Constructor Details

    • RealmsResetNormalWorldScreen

      public RealmsResetNormalWorldScreen(Consumer<ResetWorldInfo> callback, Text parentTitle)
      Mappings:
      Namespace Name Mixin selector
      official <init> Letf;<init>(Ljava/util/function/Consumer;Lvf;)V
      intermediary <init> Lnet/minecraft/class_4409;<init>(Ljava/util/function/Consumer;Lnet/minecraft/class_2561;)V
      named <init> Lnet/minecraft/client/realms/gui/screen/RealmsResetNormalWorldScreen;<init>(Ljava/util/function/Consumer;Lnet/minecraft/text/Text;)V
  • Method Details

    • init

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

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

      This should call Screen.setInitialFocus(net.minecraft.client.gui.Element) to set the element that is initially focused.

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

      private void addExperimentsButton(DirectionalLayoutWidget layout)
      Mappings:
      Namespace Name Mixin selector
      official a Letf;a(Lfau;)V
      intermediary method_54378 Lnet/minecraft/class_4409;method_54378(Lnet/minecraft/class_8667;)V
      named addExperimentsButton Lnet/minecraft/client/realms/gui/screen/RealmsResetNormalWorldScreen;addExperimentsButton(Lnet/minecraft/client/gui/widget/DirectionalLayoutWidget;)V
    • createResetWorldInfo

      private ResetWorldInfo createResetWorldInfo()
      Mappings:
      Namespace Name Mixin selector
      official D Letf;D()Leub;
      intermediary method_52693 Lnet/minecraft/class_4409;method_52693()Lnet/minecraft/class_4413;
      named createResetWorldInfo Lnet/minecraft/client/realms/gui/screen/RealmsResetNormalWorldScreen;createResetWorldInfo()Lnet/minecraft/client/realms/gui/screen/ResetWorldInfo;
    • initTabNavigation

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

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