net.minecraft.world

public interface SaveProperties

net.minecraft.world.level.storage.WorldData
net.minecraft.class_5219
net.minecraft.world.SaveProperties

Field summary

Modifier and TypeField
int
ANVIL_VERSION_ID
field_31844
ANVIL_FORMAT_ID
int
MCREGION_VERSION_ID
field_31845
MCREGION_FORMAT_ID

Method summary

Modifier and TypeMethod
DataConfiguration
getDataConfiguration()
method_29589()
getDataConfiguration()
void
setDataConfiguration(WorldDataConfiguration dataConfiguration)
method_29590(class_7712 arg0)
updateLevelInfo(DataConfiguration dataConfiguration)
boolean
wasModded()
method_27431()
isModded()
Set<String>
getKnownServerBrands()
method_27432()
getServerBrands()
Set<String>
getRemovedFeatureFlags()
method_49900()
getRemovedFeatures()
void
setModdedInfo(String serverBrand, boolean isModded)
method_24285(String arg0, boolean arg1)
addServerBrand(String brand, boolean modded)
default void
fillCrashReportCategory(CrashReportCategory category)
method_151(class_129 arg0)
populateCrashReport(CrashReportSection section)
default String
getStorageVersionName(int version)
method_27440(int arg0)
getFormatName(int id)
ServerWorldProperties
overworldData()
method_27859()
getMainWorldProperties()
LevelInfo
getLevelSettings()
method_27433()
getLevelInfo()
NbtCompound
createTag(UUID singlePlayerUUID)
method_1_1725(UUID arg0)
toNbt(UUID singleplayerUuid)
boolean
isHardcore()
method_152()
isHardcore()
int
getVersion()
method_168()
getVersion()
String
getLevelName()
method_150()
getLevelName()
GameMode
getGameType()
method_210()
getGameMode()
void
setGameType(GameType gameType)
method_193(class_1934 arg0)
setGameMode(GameMode gameMode)
boolean
isAllowCommands()
method_194()
areCommandsAllowed()
void
setAllowCommands(boolean allowCommands)
method_1_6379(boolean arg0)
setAllowCommands(boolean allowCommands)
Difficulty
getDifficulty()
method_207()
getDifficulty()
void
setDifficulty(Difficulty difficulty)
method_208(class_1267 arg0)
setDifficulty(Difficulty difficulty)
boolean
isDifficultyLocked()
method_197()
isDifficultyLocked()
void
setDifficultyLocked(boolean difficultyLocked)
method_186(boolean arg0)
setDifficultyLocked(boolean difficultyLocked)
UUID
getSinglePlayerUUID()
method_226()
getPlayerData()
boolean
isFlatWorld()
method_45555()
isFlatWorld()
boolean
isDebugWorld()
method_45556()
isDebugWorld()
com.mojang.serialization.Lifecycle
worldGenSettingsLifecycle()
method_29588()
getLifecycle()
default FeatureSet
enabledFeatures()
method_45560()
getEnabledFeatures()
private String
lambda$fillCrashReportCategory$3()
method_27436()
method_27436()
private String
lambda$fillCrashReportCategory$2()
method_27438()
method_27438()
private String
lambda$fillCrashReportCategory$1()
method_49903()
method_49903()
private String
lambda$fillCrashReportCategory$0()
method_27439()
method_27439()