Class RealmsResetNormalWorldScreen

All Implemented Interfaces:
Drawable, Element, Navigable, ParentElement

@Environment(CLIENT) public class RealmsResetNormalWorldScreen extends RealmsScreen
Mappings:
Namespace Name
official elm
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 a Lelm;a:Lsw;
      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;
    • callback

      private final Consumer<ResetWorldInfo> callback
      Mappings:
      Namespace Name Mixin selector
      official b Lelm;b: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 c Lelm;c:Lepr;
      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 G Lelm;G:Lemc;
      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 H Lelm;H:Z
      intermediary field_27940 Lnet/minecraft/class_4409;field_27940:Z
      named mapFeatures Lnet/minecraft/client/realms/gui/screen/RealmsResetNormalWorldScreen;mapFeatures:Z
    • parentTitle

      private final Text parentTitle
      Mappings:
      Namespace Name Mixin selector
      official I Lelm;I:Lsw;
      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> Lelm;<init>(Ljava/util/function/Consumer;Lsw;)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

    • tick

      public void tick()
      Overrides:
      tick in class Screen
      Mappings:
      Namespace Name Mixin selector
      official f Leuq;f()V
      intermediary method_25393 Lnet/minecraft/class_437;method_25393()V
      named tick Lnet/minecraft/client/gui/screen/Screen;tick()V
    • 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 b Leuq;b()V
      intermediary method_25426 Lnet/minecraft/class_437;method_25426()V
      named init Lnet/minecraft/client/gui/screen/Screen;init()V
    • close

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

      public void render(DrawContext context, int mouseX, int mouseY, float delta)
      Specified by:
      render in interface Drawable
      Overrides:
      render in class Screen
      Mappings:
      Namespace Name Mixin selector
      official a Leqh;a(Leox;IIF)V
      intermediary method_25394 Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)V
      named render Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V