public interface SaveProperties
DataPackSettings getDataPackSettings()
void updateLevelInfo(DataPackSettings dataPackSettings)
boolean isModded()
void addServerBrand(String brand, boolean modded)
default void populateCrashReport(CrashReportSection crashReportSection)
default String getFormatName(int id)
@Nullable CompoundTag getCustomBossEvents()
void setCustomBossEvents(@Nullable CompoundTag tag)
ServerWorldProperties getMainWorldProperties()
@Environment(value=CLIENT) LevelInfo getLevelInfo()
CompoundTag cloneWorldTag(DynamicRegistryManager dynamicRegistryManager, @Nullable CompoundTag compoundTag)
boolean isHardcore()
int getVersion()
String getLevelName()
GameMode getGameMode()
void setGameMode(GameMode gameMode)
boolean areCommandsAllowed()
Difficulty getDifficulty()
void setDifficulty(Difficulty difficulty)
boolean isDifficultyLocked()
void setDifficultyLocked(boolean locked)
GameRules getGameRules()
CompoundTag getPlayerData()
CompoundTag getDragonFight()
void setDragonFight(CompoundTag tag)
GeneratorOptions getGeneratorOptions()
@Environment(value=CLIENT) com.mojang.serialization.Lifecycle getLifecycle()