net.minecraft.world.level.storage

public interface WorldData

drw
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
DataPackConfig
D()
getDataPackConfig()
method_29589()
getDataPackSettings()
m_7513_()
void
a(cgl arg0)
setDataPackConfig(DataPackConfig arg0)
method_29590(class_5359 arg0)
updateLevelInfo(DataPackSettings dataPackSettings)
m_6645_(C_1573_ arg0)
boolean
F()
wasModded()
method_27431()
isModded()
m_6565_()
Set<String>
G()
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(r 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
E()
getCustomBossEvents()
method_228()
getCustomBossEvents()
m_6587_()
void
b(pj arg0)
setCustomBossEvents(CompoundTag arg0)
method_221(class_2487 arg0)
setCustomBossEvents(NbtCompound customBossEvents)
m_5917_(C_4917_ arg0)
ServerLevelData
H()
overworldData()
method_27859()
getMainWorldProperties()
m_5996_()
LevelSettings
I()
getLevelSettings()
method_27433()
getLevelInfo()
m_5926_()
CompoundTag
a(hn arg0, pj 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(cgu 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(bag 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
C()
endDragonFightData()
method_29036()
getDragonFight()
m_6564_()
void
a(pj arg0)
setEndDragonFightData(CompoundTag arg0)
method_29037(class_2487 arg0)
setDragonFight(NbtCompound dragonFight)
m_5915_(C_4917_ arg0)
WorldGenSettings
A()
worldGenSettings()
method_28057()
getGeneratorOptions()
m_5961_()
com.mojang.serialization.Lifecycle
B()
worldGenSettingsLifecycle()
method_29588()
getLifecycle()
m_5754_()