Class EditWorldScreen

All Implemented Interfaces:
Drawable, Element, Navigable, ParentElement

@Environment(CLIENT) public class EditWorldScreen extends Screen
Mappings:
Namespace Name
official fht
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 Lfht;a:Lorg/slf4j/Logger;
      intermediary field_23776 Lnet/minecraft/class_524;field_23776:Lorg/slf4j/Logger;
      named LOGGER Lnet/minecraft/client/gui/screen/world/EditWorldScreen;LOGGER:Lorg/slf4j/Logger;
    • ENTER_NAME_TEXT

      private static final Text ENTER_NAME_TEXT
      Mappings:
      Namespace Name Mixin selector
      official b Lfht;b:Lvf;
      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;
    • RESET_ICON_TEXT

      private static final Text RESET_ICON_TEXT
      Mappings:
      Namespace Name Mixin selector
      official c Lfht;c:Lvf;
      intermediary field_46885 Lnet/minecraft/class_524;field_46885:Lnet/minecraft/class_2561;
      named RESET_ICON_TEXT Lnet/minecraft/client/gui/screen/world/EditWorldScreen;RESET_ICON_TEXT:Lnet/minecraft/text/Text;
    • OPEN_FOLDER_TEXT

      private static final Text OPEN_FOLDER_TEXT
      Mappings:
      Namespace Name Mixin selector
      official k Lfht;k:Lvf;
      intermediary field_46886 Lnet/minecraft/class_524;field_46886:Lnet/minecraft/class_2561;
      named OPEN_FOLDER_TEXT Lnet/minecraft/client/gui/screen/world/EditWorldScreen;OPEN_FOLDER_TEXT:Lnet/minecraft/text/Text;
    • BACKUP_TEXT

      private static final Text BACKUP_TEXT
      Mappings:
      Namespace Name Mixin selector
      official l Lfht;l:Lvf;
      intermediary field_46887 Lnet/minecraft/class_524;field_46887:Lnet/minecraft/class_2561;
      named BACKUP_TEXT Lnet/minecraft/client/gui/screen/world/EditWorldScreen;BACKUP_TEXT:Lnet/minecraft/text/Text;
    • BACKUP_FOLDER_TEXT

      private static final Text BACKUP_FOLDER_TEXT
      Mappings:
      Namespace Name Mixin selector
      official m Lfht;m:Lvf;
      intermediary field_46888 Lnet/minecraft/class_524;field_46888:Lnet/minecraft/class_2561;
      named BACKUP_FOLDER_TEXT Lnet/minecraft/client/gui/screen/world/EditWorldScreen;BACKUP_FOLDER_TEXT:Lnet/minecraft/text/Text;
    • OPTIMIZE_TEXT

      private static final Text OPTIMIZE_TEXT
      Mappings:
      Namespace Name Mixin selector
      official n Lfht;n:Lvf;
      intermediary field_46889 Lnet/minecraft/class_524;field_46889:Lnet/minecraft/class_2561;
      named OPTIMIZE_TEXT Lnet/minecraft/client/gui/screen/world/EditWorldScreen;OPTIMIZE_TEXT:Lnet/minecraft/text/Text;
    • CONFIRM_TITLE_TEXT

      private static final Text CONFIRM_TITLE_TEXT
      Mappings:
      Namespace Name Mixin selector
      official o Lfht;o:Lvf;
      intermediary field_46890 Lnet/minecraft/class_524;field_46890:Lnet/minecraft/class_2561;
      named CONFIRM_TITLE_TEXT Lnet/minecraft/client/gui/screen/world/EditWorldScreen;CONFIRM_TITLE_TEXT:Lnet/minecraft/text/Text;
    • CONFIRM_DESCRIPTION_TEXT

      private static final Text CONFIRM_DESCRIPTION_TEXT
      Mappings:
      Namespace Name Mixin selector
      official p Lfht;p:Lvf;
      intermediary field_46891 Lnet/minecraft/class_524;field_46891:Lnet/minecraft/class_2561;
      named CONFIRM_DESCRIPTION_TEXT Lnet/minecraft/client/gui/screen/world/EditWorldScreen;CONFIRM_DESCRIPTION_TEXT:Lnet/minecraft/text/Text;
    • SAVE_TEXT

      private static final Text SAVE_TEXT
      Mappings:
      Namespace Name Mixin selector
      official q Lfht;q:Lvf;
      intermediary field_46892 Lnet/minecraft/class_524;field_46892:Lnet/minecraft/class_2561;
      named SAVE_TEXT Lnet/minecraft/client/gui/screen/world/EditWorldScreen;SAVE_TEXT:Lnet/minecraft/text/Text;
    • field_46893

      private static final int field_46893
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official r Lfht;r:I
      intermediary field_46893 Lnet/minecraft/class_524;field_46893:I
      named field_46893 Lnet/minecraft/client/gui/screen/world/EditWorldScreen;field_46893:I
    • field_46894

      private static final int field_46894
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official t Lfht;t:I
      intermediary field_46894 Lnet/minecraft/class_524;field_46894:I
      named field_46894 Lnet/minecraft/client/gui/screen/world/EditWorldScreen;field_46894:I
    • field_46895

      private static final int field_46895
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official u Lfht;u:I
      intermediary field_46895 Lnet/minecraft/class_524;field_46895:I
      named field_46895 Lnet/minecraft/client/gui/screen/world/EditWorldScreen;field_46895:I
    • layout

      private final DirectionalLayoutWidget layout
      Mappings:
      Namespace Name Mixin selector
      official v Lfht;v:Lfau;
      intermediary field_46896 Lnet/minecraft/class_524;field_46896:Lnet/minecraft/class_8667;
      named layout Lnet/minecraft/client/gui/screen/world/EditWorldScreen;layout:Lnet/minecraft/client/gui/widget/DirectionalLayoutWidget;
    • callback

      private final BooleanConsumer callback
      Mappings:
      Namespace Name Mixin selector
      official w Lfht;w: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;
    • storageSession

      private final LevelStorage.Session storageSession
      Mappings:
      Namespace Name Mixin selector
      official x Lfht;x:Legm$c;
      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

      private EditWorldScreen(MinecraftClient client, LevelStorage.Session session, String levelName, BooleanConsumer callback)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfht;<init>(Levi;Legm$c;Ljava/lang/String;Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;)V
      intermediary <init> Lnet/minecraft/class_524;<init>(Lnet/minecraft/class_310;Lnet/minecraft/class_32$class_5143;Ljava/lang/String;Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;)V
      named <init> Lnet/minecraft/client/gui/screen/world/EditWorldScreen;<init>(Lnet/minecraft/client/MinecraftClient;Lnet/minecraft/world/level/storage/LevelStorage$Session;Ljava/lang/String;Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;)V
  • Method Details

    • create

      public static EditWorldScreen create(MinecraftClient client, LevelStorage.Session session, BooleanConsumer callback) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Lfht;a(Levi;Legm$c;Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;)Lfht;
      intermediary method_54599 Lnet/minecraft/class_524;method_54599(Lnet/minecraft/class_310;Lnet/minecraft/class_32$class_5143;Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;)Lnet/minecraft/class_524;
      named create Lnet/minecraft/client/gui/screen/world/EditWorldScreen;create(Lnet/minecraft/client/MinecraftClient;Lnet/minecraft/world/level/storage/LevelStorage$Session;Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;)Lnet/minecraft/client/gui/screen/world/EditWorldScreen;
    • init

      protected 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
    • 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
    • commit

      private void commit(String levelName)
      Mappings:
      Namespace Name Mixin selector
      official a Lfht;a(Ljava/lang/String;)V
      intermediary method_2691 Lnet/minecraft/class_524;method_2691(Ljava/lang/String;)V
      named commit Lnet/minecraft/client/gui/screen/world/EditWorldScreen;commit(Ljava/lang/String;)V
    • backupLevel

      public static boolean backupLevel(LevelStorage.Session storageSession)
      Mappings:
      Namespace Name Mixin selector
      official a Lfht;a(Legm$c;)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(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 Leyj;a(Lewu;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