Class EditWorldScreen

All Implemented Interfaces:
Drawable, Element, ParentElement

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

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official a Legj;a:Lorg/apache/logging/log4j/Logger;
      intermediary field_23776 Lnet/minecraft/class_524;field_23776:Lorg/apache/logging/log4j/Logger;
      named LOGGER Lnet/minecraft/client/gui/screen/world/EditWorldScreen;LOGGER:Lorg/apache/logging/log4j/Logger;
    • GSON

      private static final Gson GSON
      Mappings:
      Namespace Name Mixin selector
      official b Legj;b:Lcom/google/gson/Gson;
      intermediary field_25481 Lnet/minecraft/class_524;field_25481:Lcom/google/gson/Gson;
      named GSON Lnet/minecraft/client/gui/screen/world/EditWorldScreen;GSON:Lcom/google/gson/Gson;
    • ENTER_NAME_TEXT

      private static final Text ENTER_NAME_TEXT
      Mappings:
      Namespace Name Mixin selector
      official c Legj;c:Lpz;
      intermediary field_26603 Lnet/minecraft/class_524;field_26603:Lnet/minecraft/class_2561;
      named ENTER_NAME_TEXT Lnet/minecraft/client/gui/screen/world/EditWorldScreen;ENTER_NAME_TEXT:Lnet/minecraft/text/Text;
    • saveButton

      private ButtonWidget saveButton
      Mappings:
      Namespace Name Mixin selector
      official n Legj;n:Ldza;
      intermediary field_3168 Lnet/minecraft/class_524;field_3168:Lnet/minecraft/class_4185;
      named saveButton Lnet/minecraft/client/gui/screen/world/EditWorldScreen;saveButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
    • callback

      private final BooleanConsumer callback
      Mappings:
      Namespace Name Mixin selector
      official o Legj;o:Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;
      intermediary field_3169 Lnet/minecraft/class_524;field_3169:Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;
      named callback Lnet/minecraft/client/gui/screen/world/EditWorldScreen;callback:Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;
    • levelNameTextField

      private TextFieldWidget levelNameTextField
      Mappings:
      Namespace Name Mixin selector
      official p Legj;p:Ldzi;
      intermediary field_3170 Lnet/minecraft/class_524;field_3170:Lnet/minecraft/class_342;
      named levelNameTextField Lnet/minecraft/client/gui/screen/world/EditWorldScreen;levelNameTextField:Lnet/minecraft/client/gui/widget/TextFieldWidget;
    • storageSession

      private final LevelStorage.Session storageSession
      Mappings:
      Namespace Name Mixin selector
      official q Legj;q:Ldjn$a;
      intermediary field_23777 Lnet/minecraft/class_524;field_23777:Lnet/minecraft/class_32$class_5143;
      named storageSession Lnet/minecraft/client/gui/screen/world/EditWorldScreen;storageSession:Lnet/minecraft/world/level/storage/LevelStorage$Session;
  • Constructor Details

    • EditWorldScreen

      public EditWorldScreen(BooleanConsumer callback, LevelStorage.Session storageSession)
      Mappings:
      Namespace Name Mixin selector
      official <init> Legj;<init>(Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Ldjn$a;)V
      intermediary <init> Lnet/minecraft/class_524;<init>(Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Lnet/minecraft/class_32$class_5143;)V
      named <init> Lnet/minecraft/client/gui/screen/world/EditWorldScreen;<init>(Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Lnet/minecraft/world/level/storage/LevelStorage$Session;)V
  • Method Details

    • tick

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

      public void resize(MinecraftClient client, int width, int height)
      Overrides:
      resize in class Screen
      Mappings:
      Namespace Name Mixin selector
      official a Lecr;a(Ldxo;II)V
      intermediary method_25410 Lnet/minecraft/class_437;method_25410(Lnet/minecraft/class_310;II)V
      named resize Lnet/minecraft/client/gui/screen/Screen;resize(Lnet/minecraft/client/MinecraftClient;II)V
    • onClose

      public void onClose()
      Overrides:
      onClose in class Screen
      Mappings:
      Namespace Name Mixin selector
      official ag_ Lecr;ag_()V
      intermediary method_25419 Lnet/minecraft/class_437;method_25419()V
      named onClose Lnet/minecraft/client/gui/screen/Screen;onClose()V
    • removed

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

      private void commit()
      Mappings:
      Namespace Name Mixin selector
      official h Legj;h()V
      intermediary method_2691 Lnet/minecraft/class_524;method_2691()V
      named commit Lnet/minecraft/client/gui/screen/world/EditWorldScreen;commit()V
    • onBackupConfirm

      public static void onBackupConfirm(LevelStorage storage, String levelName)
      Mappings:
      Namespace Name Mixin selector
      official a Legj;a(Ldjn;Ljava/lang/String;)V
      intermediary method_29784 Lnet/minecraft/class_524;method_29784(Lnet/minecraft/class_32;Ljava/lang/String;)V
      named onBackupConfirm Lnet/minecraft/client/gui/screen/world/EditWorldScreen;onBackupConfirm(Lnet/minecraft/world/level/storage/LevelStorage;Ljava/lang/String;)V
    • backupLevel

      public static boolean backupLevel(LevelStorage.Session storageSession)
      Mappings:
      Namespace Name Mixin selector
      official a Legj;a(Ldjn$a;)Z
      intermediary method_2701 Lnet/minecraft/class_524;method_2701(Lnet/minecraft/class_32$class_5143;)Z
      named backupLevel Lnet/minecraft/client/gui/screen/world/EditWorldScreen;backupLevel(Lnet/minecraft/world/level/storage/LevelStorage$Session;)Z
    • render

      public void render(MatrixStack matrices, int mouseX, int mouseY, float delta)
      Specified by:
      render in interface Drawable
      Overrides:
      render in class Screen
      Mappings:
      Namespace Name Mixin selector
      official a Ldzv;a(Ldsj;IIF)V
      intermediary method_25394 Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_4587;IIF)V
      named render Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/util/math/MatrixStack;IIF)V