Interface SaveProperties

All Known Implementing Classes:
LevelProperties

public interface SaveProperties
  • Method Details

    • getDataPackSettings

      DataPackSettings getDataPackSettings()
    • updateLevelInfo

      void updateLevelInfo​(DataPackSettings dataPackSettings)
    • isModded

      boolean isModded()
    • getServerBrands

      Set<String> getServerBrands()
    • addServerBrand

      void addServerBrand​(String brand, boolean modded)
    • populateCrashReport

      default void populateCrashReport​(CrashReportSection crashReportSection)
    • getFormatName

      default String getFormatName​(int id)
    • getCustomBossEvents

      @Nullable CompoundTag getCustomBossEvents()
    • setCustomBossEvents

      void setCustomBossEvents​(@Nullable CompoundTag tag)
    • getMainWorldProperties

      ServerWorldProperties getMainWorldProperties()
    • getLevelInfo

      @Environment(CLIENT) LevelInfo getLevelInfo()
    • cloneWorldTag

      CompoundTag cloneWorldTag​(DynamicRegistryManager dynamicRegistryManager, @Nullable CompoundTag compoundTag)
    • isHardcore

      boolean isHardcore()
    • getVersion

      int getVersion()
    • getLevelName

      String getLevelName()
    • getGameMode

      GameMode getGameMode()
    • setGameMode

      void setGameMode​(GameMode gameMode)
    • areCommandsAllowed

      boolean areCommandsAllowed()
    • getDifficulty

      Difficulty getDifficulty()
    • setDifficulty

      void setDifficulty​(Difficulty difficulty)
    • isDifficultyLocked

      boolean isDifficultyLocked()
    • setDifficultyLocked

      void setDifficultyLocked​(boolean locked)
    • getGameRules

      GameRules getGameRules()
    • getPlayerData

      CompoundTag getPlayerData()
    • getDragonFight

      CompoundTag getDragonFight()
    • setDragonFight

      void setDragonFight​(CompoundTag tag)
    • getGeneratorOptions

      GeneratorOptions getGeneratorOptions()
    • getLifecycle

      @Environment(CLIENT) com.mojang.serialization.Lifecycle getLifecycle()