Class EditWorldScreen

    • Field Detail

      • LOGGER

        private static final org.apache.logging.log4j.Logger LOGGER
      • WORLD_GEN_SETTINGS_GSON

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

        private Button renameButton
      • callback

        private final it.unimi.dsi.fastutil.booleans.BooleanConsumer callback
    • Constructor Detail

      • EditWorldScreen

        public EditWorldScreen​(it.unimi.dsi.fastutil.booleans.BooleanConsumer p_i232318_1_,
                               SaveFormat.LevelSave p_i232318_2_)
    • Method Detail

      • init

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

        public void resize​(Minecraft p_231152_1_,
                           int p_231152_2_,
                           int p_231152_3_)
        Overrides:
        resize in class Screen
      • onClose

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

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

        private void onRename()
      • makeBackupAndShowToast

        public static void makeBackupAndShowToast​(SaveFormat p_241651_0_,
                                                  java.lang.String p_241651_1_)
      • makeBackupAndShowToast

        public static boolean makeBackupAndShowToast​(SaveFormat.LevelSave p_239019_0_)