net.minecraft.world.level.storage

public interface WorldData

dyk
net.minecraft.world.level.storage.WorldData
net.minecraft.class_5219
net.minecraft.world.SaveProperties
net.minecraft.src.C_2795_
net.minecraft.world.level.storage.SaveData

Field summary

Modifier and TypeField
int
c
ANVIL_VERSION_ID
field_31844
ANVIL_FORMAT_ID
f_164978_
int
d
MCREGION_VERSION_ID
field_31845
MCREGION_FORMAT_ID
f_164979_

Method summary

Modifier and TypeMethod
WorldDataConfiguration
F()
getDataConfiguration()
method_29589()
getDataConfiguration()
m_6645_()
void
a(cna arg0)
setDataConfiguration(WorldDataConfiguration arg0)
method_29590(class_7712 arg0)
updateLevelInfo(DataConfiguration dataConfiguration)
m_245843_(C_243530_ arg0)
boolean
H()
wasModded()
method_27431()
isModded()
m_6565_()
Set<String>
I()
getKnownServerBrands()
method_27432()
getServerBrands()
m_6161_()
void
a(String arg0, boolean arg1)
setModdedInfo(String arg0, boolean arg1)
method_24285(String arg0, boolean arg1)
addServerBrand(String brand, boolean modded)
m_7955_(String p_78639_, boolean arg1)
default void
a(p arg0)
fillCrashReportCategory(CrashReportCategory arg0)
method_151(class_129 arg0)
populateCrashReport(CrashReportSection section)
m_5461_(C_4909_ arg0)
default String
i(int arg0)
getStorageVersionName(int arg0)
method_27440(int arg0)
getFormatName(int id)
m_78646_(int arg0)
CompoundTag
G()
getCustomBossEvents()
method_228()
getCustomBossEvents()
m_6587_()
void
b(re arg0)
setCustomBossEvents(CompoundTag arg0)
method_221(class_2487 arg0)
setCustomBossEvents(NbtCompound customBossEvents)
m_5917_(C_4917_ arg0)
ServerLevelData
J()
overworldData()
method_27859()
getMainWorldProperties()
m_5996_()
LevelSettings
K()
getLevelSettings()
method_27433()
getLevelInfo()
m_5926_()
CompoundTag
a(hr arg0, re arg1)
createTag(RegistryAccess arg0, CompoundTag arg1)
method_163(class_5455 arg0, class_2487 arg1)
cloneWorldNbt(DynamicRegistryManager registryManager, NbtCompound playerNbt)
m_6626_(C_4706_ p_78637_, C_4917_ arg1)
boolean
n()
isHardcore()
method_152()
isHardcore()
m_5466_()
int
z()
getVersion()
method_168()
getVersion()
m_6517_()
String
g()
getLevelName()
method_150()
getLevelName()
m_5462_()
GameType
m()
getGameType()
method_210()
getGameMode()
m_5464_()
void
a(cmf arg0)
setGameType(GameType arg0)
method_193(class_1934 arg0)
setGameMode(GameMode gameMode)
m_5458_(C_1593_ arg0)
boolean
o()
getAllowCommands()
method_194()
areCommandsAllowed()
m_5468_()
Difficulty
s()
getDifficulty()
method_207()
getDifficulty()
m_5472_()
void
a(bdv arg0)
setDifficulty(Difficulty arg0)
method_208(class_1267 arg0)
setDifficulty(Difficulty difficulty)
m_6166_(C_468_ arg0)
boolean
t()
isDifficultyLocked()
method_197()
isDifficultyLocked()
m_5474_()
void
d(boolean arg0)
setDifficultyLocked(boolean arg0)
method_186(boolean arg0)
setDifficultyLocked(boolean difficultyLocked)
m_5560_(boolean arg0)
GameRules
q()
getGameRules()
method_146()
getGameRules()
m_5470_()
CompoundTag
y()
getLoadedPlayerTag()
method_226()
getPlayerData()
m_6614_()
CompoundTag
E()
endDragonFightData()
method_29036()
getDragonFight()
m_6564_()
void
a(re arg0)
setEndDragonFightData(CompoundTag arg0)
method_29037(class_2487 arg0)
setDragonFight(NbtCompound dragonFight)
m_5915_(C_4917_ arg0)
WorldOptions
A()
worldGenOptions()
method_28057()
getGeneratorOptions()
m_246337_()
boolean
B()
isFlatWorld()
method_45555()
isFlatWorld()
m_5961_()
boolean
C()
isDebugWorld()
method_45556()
isDebugWorld()
m_7513_()
com.mojang.serialization.Lifecycle
D()
worldGenSettingsLifecycle()
method_29588()
getLifecycle()
m_5754_()
default FeatureFlagSet
L()
enabledFeatures()
method_45560()
getEnabledFeatures()
m_247623_()