Interface SaveProperties

All Known Implementing Classes:
LevelProperties

public interface SaveProperties
Mappings:
Namespace Name
official deb
intermediary net/minecraft/class_5219
named net/minecraft/world/SaveProperties
  • Method Details

    • getDataPackSettings

      DataPackSettings getDataPackSettings()
      Mappings:
      Namespace Name Mixin selector
      official D Ldeb;D()Lbti;
      intermediary method_29589 Lnet/minecraft/class_5219;method_29589()Lnet/minecraft/class_5359;
      named getDataPackSettings Lnet/minecraft/world/SaveProperties;getDataPackSettings()Lnet/minecraft/resource/DataPackSettings;
    • updateLevelInfo

      void updateLevelInfo​(DataPackSettings dataPackSettings)
      Mappings:
      Namespace Name Mixin selector
      official a Ldeb;a(Lbti;)V
      intermediary method_29590 Lnet/minecraft/class_5219;method_29590(Lnet/minecraft/class_5359;)V
      named updateLevelInfo Lnet/minecraft/world/SaveProperties;updateLevelInfo(Lnet/minecraft/resource/DataPackSettings;)V
    • isModded

      boolean isModded()
      Mappings:
      Namespace Name Mixin selector
      official F Ldeb;F()Z
      intermediary method_27431 Lnet/minecraft/class_5219;method_27431()Z
      named isModded Lnet/minecraft/world/SaveProperties;isModded()Z
    • getServerBrands

      Set<String> getServerBrands()
      Mappings:
      Namespace Name Mixin selector
      official G Ldeb;G()Ljava/util/Set;
      intermediary method_27432 Lnet/minecraft/class_5219;method_27432()Ljava/util/Set;
      named getServerBrands Lnet/minecraft/world/SaveProperties;getServerBrands()Ljava/util/Set;
    • addServerBrand

      void addServerBrand​(String brand, boolean modded)
      Mappings:
      Namespace Name Mixin selector
      official a Ldeb;a(Ljava/lang/String;Z)V
      intermediary method_24285 Lnet/minecraft/class_5219;method_24285(Ljava/lang/String;Z)V
      named addServerBrand Lnet/minecraft/world/SaveProperties;addServerBrand(Ljava/lang/String;Z)V
    • populateCrashReport

      default void populateCrashReport​(CrashReportSection crashReportSection)
      Mappings:
      Namespace Name Mixin selector
      official a Ldeb;a(Lm;)V
      intermediary method_151 Lnet/minecraft/class_5219;method_151(Lnet/minecraft/class_129;)V
      named populateCrashReport Lnet/minecraft/world/SaveProperties;populateCrashReport(Lnet/minecraft/util/crash/CrashReportSection;)V
    • getFormatName

      default String getFormatName​(int id)
      Mappings:
      Namespace Name Mixin selector
      official i Ldeb;i(I)Ljava/lang/String;
      intermediary method_27440 Lnet/minecraft/class_5219;method_27440(I)Ljava/lang/String;
      named getFormatName Lnet/minecraft/world/SaveProperties;getFormatName(I)Ljava/lang/String;
    • getCustomBossEvents

      @Nullable CompoundTag getCustomBossEvents()
      Mappings:
      Namespace Name Mixin selector
      official E Ldeb;E()Lmq;
      intermediary method_228 Lnet/minecraft/class_5219;method_228()Lnet/minecraft/class_2487;
      named getCustomBossEvents Lnet/minecraft/world/SaveProperties;getCustomBossEvents()Lnet/minecraft/nbt/CompoundTag;
    • setCustomBossEvents

      void setCustomBossEvents​(@Nullable CompoundTag tag)
      Mappings:
      Namespace Name Mixin selector
      official b Ldeb;b(Lmq;)V
      intermediary method_221 Lnet/minecraft/class_5219;method_221(Lnet/minecraft/class_2487;)V
      named setCustomBossEvents Lnet/minecraft/world/SaveProperties;setCustomBossEvents(Lnet/minecraft/nbt/CompoundTag;)V
    • getMainWorldProperties

      ServerWorldProperties getMainWorldProperties()
      Mappings:
      Namespace Name Mixin selector
      official H Ldeb;H()Ldea;
      intermediary method_27859 Lnet/minecraft/class_5219;method_27859()Lnet/minecraft/class_5268;
      named getMainWorldProperties Lnet/minecraft/world/SaveProperties;getMainWorldProperties()Lnet/minecraft/world/level/ServerWorldProperties;
    • getLevelInfo

      @Environment(CLIENT) LevelInfo getLevelInfo()
      Mappings:
      Namespace Name Mixin selector
      official I Ldeb;I()Lbtz;
      intermediary method_27433 Lnet/minecraft/class_5219;method_27433()Lnet/minecraft/class_1940;
      named getLevelInfo Lnet/minecraft/world/SaveProperties;getLevelInfo()Lnet/minecraft/world/level/LevelInfo;
    • cloneWorldTag

      CompoundTag cloneWorldTag​(DynamicRegistryManager registryManager, @Nullable CompoundTag playerTag)
      Mappings:
      Namespace Name Mixin selector
      official a Ldeb;a(Lgo;Lmq;)Lmq;
      intermediary method_163 Lnet/minecraft/class_5219;method_163(Lnet/minecraft/class_5455;Lnet/minecraft/class_2487;)Lnet/minecraft/class_2487;
      named cloneWorldTag Lnet/minecraft/world/SaveProperties;cloneWorldTag(Lnet/minecraft/util/registry/DynamicRegistryManager;Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/nbt/CompoundTag;
    • isHardcore

      boolean isHardcore()
      Mappings:
      Namespace Name Mixin selector
      official n Ldeb;n()Z
      intermediary method_152 Lnet/minecraft/class_5219;method_152()Z
      named isHardcore Lnet/minecraft/world/SaveProperties;isHardcore()Z
    • getVersion

      int getVersion()
      Mappings:
      Namespace Name Mixin selector
      official z Ldeb;z()I
      intermediary method_168 Lnet/minecraft/class_5219;method_168()I
      named getVersion Lnet/minecraft/world/SaveProperties;getVersion()I
    • getLevelName

      String getLevelName()
      Mappings:
      Namespace Name Mixin selector
      official g Ldeb;g()Ljava/lang/String;
      intermediary method_150 Lnet/minecraft/class_5219;method_150()Ljava/lang/String;
      named getLevelName Lnet/minecraft/world/SaveProperties;getLevelName()Ljava/lang/String;
    • getGameMode

      GameMode getGameMode()
      Mappings:
      Namespace Name Mixin selector
      official m Ldeb;m()Lbts;
      intermediary method_210 Lnet/minecraft/class_5219;method_210()Lnet/minecraft/class_1934;
      named getGameMode Lnet/minecraft/world/SaveProperties;getGameMode()Lnet/minecraft/world/GameMode;
    • setGameMode

      void setGameMode​(GameMode gameMode)
      Mappings:
      Namespace Name Mixin selector
      official a Ldeb;a(Lbts;)V
      intermediary method_193 Lnet/minecraft/class_5219;method_193(Lnet/minecraft/class_1934;)V
      named setGameMode Lnet/minecraft/world/SaveProperties;setGameMode(Lnet/minecraft/world/GameMode;)V
    • areCommandsAllowed

      boolean areCommandsAllowed()
      Mappings:
      Namespace Name Mixin selector
      official o Ldeb;o()Z
      intermediary method_194 Lnet/minecraft/class_5219;method_194()Z
      named areCommandsAllowed Lnet/minecraft/world/SaveProperties;areCommandsAllowed()Z
    • getDifficulty

      Difficulty getDifficulty()
      Mappings:
      Namespace Name Mixin selector
      official s Ldeb;s()Lapn;
      intermediary method_207 Lnet/minecraft/class_5219;method_207()Lnet/minecraft/class_1267;
      named getDifficulty Lnet/minecraft/world/SaveProperties;getDifficulty()Lnet/minecraft/world/Difficulty;
    • setDifficulty

      void setDifficulty​(Difficulty difficulty)
      Mappings:
      Namespace Name Mixin selector
      official a Ldeb;a(Lapn;)V
      intermediary method_208 Lnet/minecraft/class_5219;method_208(Lnet/minecraft/class_1267;)V
      named setDifficulty Lnet/minecraft/world/SaveProperties;setDifficulty(Lnet/minecraft/world/Difficulty;)V
    • isDifficultyLocked

      boolean isDifficultyLocked()
      Mappings:
      Namespace Name Mixin selector
      official t Ldeb;t()Z
      intermediary method_197 Lnet/minecraft/class_5219;method_197()Z
      named isDifficultyLocked Lnet/minecraft/world/SaveProperties;isDifficultyLocked()Z
    • setDifficultyLocked

      void setDifficultyLocked​(boolean locked)
      Mappings:
      Namespace Name Mixin selector
      official d Ldeb;d(Z)V
      intermediary method_186 Lnet/minecraft/class_5219;method_186(Z)V
      named setDifficultyLocked Lnet/minecraft/world/SaveProperties;setDifficultyLocked(Z)V
    • getGameRules

      GameRules getGameRules()
      Mappings:
      Namespace Name Mixin selector
      official q Ldeb;q()Lbtr;
      intermediary method_146 Lnet/minecraft/class_5219;method_146()Lnet/minecraft/class_1928;
      named getGameRules Lnet/minecraft/world/SaveProperties;getGameRules()Lnet/minecraft/world/GameRules;
    • getPlayerData

      CompoundTag getPlayerData()
      Mappings:
      Namespace Name Mixin selector
      official y Ldeb;y()Lmq;
      intermediary method_226 Lnet/minecraft/class_5219;method_226()Lnet/minecraft/class_2487;
      named getPlayerData Lnet/minecraft/world/SaveProperties;getPlayerData()Lnet/minecraft/nbt/CompoundTag;
    • getDragonFight

      CompoundTag getDragonFight()
      Mappings:
      Namespace Name Mixin selector
      official C Ldeb;C()Lmq;
      intermediary method_29036 Lnet/minecraft/class_5219;method_29036()Lnet/minecraft/class_2487;
      named getDragonFight Lnet/minecraft/world/SaveProperties;getDragonFight()Lnet/minecraft/nbt/CompoundTag;
    • setDragonFight

      void setDragonFight​(CompoundTag tag)
      Mappings:
      Namespace Name Mixin selector
      official a Ldeb;a(Lmq;)V
      intermediary method_29037 Lnet/minecraft/class_5219;method_29037(Lnet/minecraft/class_2487;)V
      named setDragonFight Lnet/minecraft/world/SaveProperties;setDragonFight(Lnet/minecraft/nbt/CompoundTag;)V
    • getGeneratorOptions

      GeneratorOptions getGeneratorOptions()
      Mappings:
      Namespace Name Mixin selector
      official A Ldeb;A()Lcmy;
      intermediary method_28057 Lnet/minecraft/class_5219;method_28057()Lnet/minecraft/class_5285;
      named getGeneratorOptions Lnet/minecraft/world/SaveProperties;getGeneratorOptions()Lnet/minecraft/world/gen/GeneratorOptions;
    • getLifecycle

      @Environment(CLIENT) com.mojang.serialization.Lifecycle getLifecycle()
      Mappings:
      Namespace Name Mixin selector
      official B Ldeb;B()Lcom/mojang/serialization/Lifecycle;
      intermediary method_29588 Lnet/minecraft/class_5219;method_29588()Lcom/mojang/serialization/Lifecycle;
      named getLifecycle Lnet/minecraft/world/SaveProperties;getLifecycle()Lcom/mojang/serialization/Lifecycle;