Class EditWorldScreen

All Implemented Interfaces:
ContainerEventHandler, GuiEventListener, Renderable

public class EditWorldScreen extends Screen
  • Field Details

    • LOGGER

      private static final org.slf4j.Logger LOGGER
    • WORLD_GEN_SETTINGS_GSON

      private static final com.google.gson.Gson WORLD_GEN_SETTINGS_GSON
    • NAME_LABEL

      private static final Component NAME_LABEL
    • renameButton

      private Button renameButton
    • callback

      private final it.unimi.dsi.fastutil.booleans.BooleanConsumer callback
    • nameEdit

      private EditBox nameEdit
    • levelAccess

      private final LevelStorageSource.LevelStorageAccess levelAccess
  • Constructor Details

  • Method Details

    • tick

      public void tick()
      Overrides:
      tick in class Screen
    • init

      protected void init()
      Overrides:
      init in class Screen
    • resize

      public void resize(Minecraft p_101269_, int p_101270_, int p_101271_)
      Overrides:
      resize in class Screen
    • onClose

      public void onClose()
      Overrides:
      onClose in class Screen
    • onRename

      private void onRename()
    • makeBackupAndShowToast

      public static void makeBackupAndShowToast(LevelStorageSource p_101261_, String p_101262_)
    • makeBackupAndShowToast

      public static boolean makeBackupAndShowToast(LevelStorageSource.LevelStorageAccess p_101259_)
    • render

      public void render(PoseStack p_101264_, int p_101265_, int p_101266_, float p_101267_)
      Specified by:
      render in interface Renderable
      Overrides:
      render in class Screen