net.minecraft.world.level.storage

public class PrimaryLevelData

implements ServerLevelData, WorldData

dru
net.minecraft.world.level.storage.PrimaryLevelData
net.minecraft.class_31
net.minecraft.unmapped.C_jmmczzpb
net.minecraft.world.level.LevelProperties
net.minecraft.world.level.LevelProperties
net.minecraft.src.C_2793_
net.minecraft.world.level.storage.WorldDataServer

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
e
LOGGER
field_25029
f_tlzpcrwu
LOGGER
LOGGER
f_78442_
protected static final String
a
PLAYER
field_36349
f_urierpec
PLAYER_KEY
f_202314_
protected static final String
b
WORLD_GEN_SETTINGS
field_31843
f_iteradwu
WORLD_GEN_SETTINGS_KEY
WORLD_GEN_SETTINGS_KEY
f_164940_
private LevelSettings
f
settings
field_25030
f_zcocotov
levelInfo
levelInfo
f_78443_
private final WorldGenSettings
g
worldGenSettings
field_25425
f_sgooiegi
generatorOptions
generatorOptions
f_78444_
private final com.mojang.serialization.Lifecycle
h
worldGenSettingsLifecycle
field_25426
f_jnnnxnys
lifecycle
lifecycle
f_78445_
private int
i
xSpawn
field_151
f_jcbbpsoj
spawnX
spawnX
f_78446_
private int
j
ySpawn
field_167
f_ijauhqup
spawnY
spawnY
f_78447_
private int
k
zSpawn
field_182
f_qqwedtfz
spawnZ
spawnZ
f_78448_
private float
l
spawnAngle
field_26367
f_ijykcegw
spawnAngle
spawnAngle
f_78449_
private long
m
gameTime
field_189
f_vixlbjoc
time
time
f_78450_
private long
n
dayTime
field_198
f_vsxsobkx
timeOfDay
timeOfDay
f_78451_
private final com.mojang.datafixers.DataFixer
o
fixerUpper
field_184
f_zuihjfvz
dataFixer
dataFixer
f_78452_
private final int
p
playerDataVersion
field_196
f_ecsjtqgc
dataVersion
dataVersion
f_78453_
private boolean
q
upgradedPlayerTag
field_172
f_irwbhdsa
playerDataLoaded
playerDataLoaded
f_78454_
private CompoundTag
r
loadedPlayerTag
field_170
f_wajebgsy
playerData
playerData
f_78455_
private final int
s
version
field_158
f_iwmhyeki
version
version
f_78456_
private int
t
clearWeatherTime
field_176
f_iholqjdh
clearWeatherTime
clearWeatherTime
f_78457_
private boolean
u
raining
field_190
f_ryspwxox
raining
raining
f_78458_
private int
v
rainTime
field_192
f_wkcdalie
rainTime
rainTime
f_78459_
private boolean
w
thundering
field_168
f_ipbdatlf
thundering
thundering
f_78460_
private int
x
thunderTime
field_173
f_mojlooew
thunderTime
thunderTime
f_78461_
private boolean
y
initialized
field_185
f_leyjyyyz
initialized
initialized
f_78462_
private boolean
z
difficultyLocked
field_157
f_phgzgmgs
difficultyLocked
difficultyLocked
f_78463_
private WorldBorder$Settings
A
worldBorder
field_24193
f_vokyxtwk
worldBorder
worldBorder
f_78464_
private CompoundTag
B
endDragonFightData
field_25031
f_rtkplitb
dragonFight
dragonFight
f_78465_
private CompoundTag
C
customBossEvents
field_156
f_ykdrqhbw
customBossEvents
customBossEvents
f_78466_
private int
D
wanderingTraderSpawnDelay
field_17736
f_ppoaqydo
wanderingTraderSpawnDelay
wanderingTraderSpawnDelay
f_78467_
private int
E
wanderingTraderSpawnChance
field_17737
f_lhtikfdi
wanderingTraderSpawnChance
wanderingTraderSpawnChance
f_78437_
private UUID
F
wanderingTraderId
field_17738
f_jlkafbxi
wanderingTraderId
wanderingTraderId
f_78438_
private final Set<String>
G
knownServerBrands
field_21837
f_rauimzzj
serverBrands
serverBrands
f_78439_
private boolean
H
wasModded
field_21838
f_lwoygeld
modded
modded
f_78440_
private final TimerQueue<MinecraftServer>
I
scheduledEvents
field_191
f_pskdtagu
scheduledEvents
scheduledEvents
f_78441_

Constructor summary

ModifierConstructor
private (com.mojang.datafixers.DataFixer dataFixer, int dataVersion, CompoundTag playerData, boolean modded, int spawnX, int spawnY, int spawnZ, float spawnAngle, long time, long timeOfDay, int version, int clearWeatherTime, int rainTime, boolean raining, int thunderTime, boolean thundering, boolean initialized, boolean difficultyLocked, WorldBorder$Settings worldBorder, int wanderingTraderSpawnDelay, int wanderingTraderSpawnChance, UUID wanderingTraderId, Set<String> serverBrands, TimerQueue<MinecraftServer> scheduledEvents, CompoundTag customBossEvents, CompoundTag dragonFight, LevelSettings levelInfo, WorldGenSettings generatorOptions, com.mojang.serialization.Lifecycle lifecycle)
public (LevelSettings levelInfo, WorldGenSettings generatorOptions, com.mojang.serialization.Lifecycle lifecycle)

Method summary

Modifier and TypeMethod
public static PrimaryLevelData
a(com.mojang.serialization.Dynamic<qc> arg0, com.mojang.datafixers.DataFixer arg1, int arg2, pj arg3, chb arg4, drs arg5, dbm arg6, com.mojang.serialization.Lifecycle arg7)
parse(com.mojang.serialization.Dynamic<Tag> arg0, com.mojang.datafixers.DataFixer arg1, int arg2, CompoundTag arg3, LevelSettings arg4, LevelVersion arg5, WorldGenSettings arg6, com.mojang.serialization.Lifecycle arg7)
method_29029(com.mojang.serialization.Dynamic<class_2520> arg0, com.mojang.datafixers.DataFixer arg1, int arg2, class_2487 arg3, class_1940 arg4, class_5315 arg5, class_5285 arg6, com.mojang.serialization.Lifecycle arg7)
m_pcuphymm(com.mojang.serialization.Dynamic<C_oivssbvb> arg0, com.mojang.datafixers.DataFixer arg1, int arg2, C_hhlwcnih arg3, C_tmnkpzlg arg4, C_zfrqkcfz arg5, C_oxnufhsj arg6, com.mojang.serialization.Lifecycle arg7)
readProperties(com.mojang.serialization.Dynamic<NbtElement> dynamic, com.mojang.datafixers.DataFixer dataFixer, int dataVersion, NbtCompound playerData, LevelInfo levelInfo, SaveVersionInfo saveVersionInfo, GeneratorOptions generatorOptions, com.mojang.serialization.Lifecycle lifecycle)
readProperties(com.mojang.serialization.Dynamic<NbtElement> dynamic, com.mojang.datafixers.DataFixer dataFixer, int dataVersion, NbtCompound playerData, LevelInfo levelInfo, SaveVersionInfo saveVersionInfo, GeneratorOptions generatorOptions, com.mojang.serialization.Lifecycle lifecycle)
m_78530_(com.mojang.serialization.Dynamic<C_4950_> p_78531_, com.mojang.datafixers.DataFixer p_78532_, int p_78533_, C_4917_ p_78534_, C_1602_ p_78535_, C_2790_ p_78536_, C_2201_ p_78537_, com.mojang.serialization.Lifecycle p_78538_)
public CompoundTag
a(hn arg0, pj arg1)
createTag(RegistryAccess arg0, CompoundTag arg1)
method_163(class_5455 arg0, class_2487 arg1)
m_eluihlvp(C_wqxmvzdq arg0, C_hhlwcnih arg1)
cloneWorldNbt(DynamicRegistryManager arg0, NbtCompound arg1)
cloneWorldNbt(DynamicRegistryManager arg0, NbtCompound arg1)
m_6626_(C_4706_ p_78544_, C_4917_ arg1)
private void
a(hn arg0, pj arg1, pj arg2)
setTagData(RegistryAccess arg0, CompoundTag arg1, CompoundTag arg2)
method_158(class_5455 arg0, class_2487 arg1, class_2487 arg2)
m_xkdnykbi(C_wqxmvzdq arg0, C_hhlwcnih arg1, C_hhlwcnih arg2)
updateProperties(DynamicRegistryManager registryManager, NbtCompound levelNbt, NbtCompound playerNbt)
updateProperties(DynamicRegistryManager registryManager, NbtCompound levelNbt, NbtCompound playerNbt)
m_78545_(C_4706_ p_78547_, C_4917_ p_78548_, C_4917_ arg2)
public int
a()
getXSpawn()
method_215()
m_ohexkrgw()
getSpawnX()
getSpawnX()
m_6789_()
public int
b()
getYSpawn()
method_144()
m_ekhxvjcv()
getSpawnY()
getSpawnY()
m_6527_()
public int
c()
getZSpawn()
method_166()
m_khmxtkin()
getSpawnZ()
getSpawnZ()
m_6526_()
public float
d()
getSpawnAngle()
method_30656()
m_nxjrkbss()
getSpawnAngle()
getSpawnAngle()
m_6790_()
public long
e()
getGameTime()
method_188()
m_vtfwqipe()
getTime()
getTime()
m_6793_()
public long
f()
getDayTime()
method_217()
m_htydyntw()
getTimeOfDay()
getTimeOfDay()
m_6792_()
private void
J()
updatePlayerTag()
method_185()
m_jiidkhzg()
loadPlayerData()
loadPlayerData()
m_78512_()
public CompoundTag
y()
getLoadedPlayerTag()
method_226()
m_mqwuzmlg()
getPlayerData()
getPlayerData()
m_6614_()
public void
b(int arg0)
setXSpawn(int arg0)
method_27416(int arg0)
m_etibqohm(int arg0)
setSpawnX(int arg0)
setSpawnX(int arg0)
m_6395_(int arg0)
public void
c(int arg0)
setYSpawn(int arg0)
method_27417(int arg0)
m_sbfkuxan(int arg0)
setSpawnY(int arg0)
setSpawnY(int arg0)
m_6397_(int arg0)
public void
d(int arg0)
setZSpawn(int arg0)
method_27419(int arg0)
m_amhefgbb(int arg0)
setSpawnZ(int arg0)
setSpawnZ(int arg0)
m_6400_(int arg0)
public void
a(float arg0)
setSpawnAngle(float arg0)
method_30657(float arg0)
m_mnfgajxn(float arg0)
setSpawnAngle(float arg0)
setSpawnAngle(float arg0)
m_7113_(float arg0)
public void
a(long arg0)
setGameTime(long arg0)
method_29034(long arg0)
m_ovzfxfkm(long arg0)
setTime(long arg0)
setTime(long arg0)
m_6253_(long arg0)
public void
b(long arg0)
setDayTime(long arg0)
method_29035(long arg0)
m_hvnskute(long arg0)
setTimeOfDay(long arg0)
setTimeOfDay(long arg0)
m_6247_(long arg0)
public void
a(gt arg0, float arg1)
setSpawn(BlockPos arg0, float arg1)
method_187(class_2338 arg0, float arg1)
m_obibqfwa(C_hynzadkk arg0, float arg1)
setSpawnPos(BlockPos arg0, float arg1)
setSpawnPos(BlockPos arg0, float arg1)
m_7250_(C_4675_ p_78541_, float arg1)
public String
g()
getLevelName()
method_150()
m_mpbccpgx()
getLevelName()
getLevelName()
m_5462_()
public int
z()
getVersion()
method_168()
m_iktkysbz()
getVersion()
getVersion()
m_6517_()
public int
h()
getClearWeatherTime()
method_155()
m_jzeyplwl()
getClearWeatherTime()
getClearWeatherTime()
m_6537_()
public void
a(int arg0)
setClearWeatherTime(int arg0)
method_167(int arg0)
m_mfpilxej(int arg0)
setClearWeatherTime(int arg0)
setClearWeatherTime(int arg0)
m_6393_(int arg0)
public boolean
i()
isThundering()
method_203()
m_wbhewofz()
isThundering()
isThundering()
m_6534_()
public void
a(boolean arg0)
setThundering(boolean arg0)
method_147(boolean arg0)
m_afhndzfa(boolean arg0)
setThundering(boolean arg0)
setThundering(boolean arg0)
m_5557_(boolean arg0)
public int
j()
getThunderTime()
method_145()
m_hiloblfc()
getThunderTime()
getThunderTime()
m_6558_()
public void
e(int arg0)
setThunderTime(int arg0)
method_173(int arg0)
m_xcllpjqn(int arg0)
setThunderTime(int arg0)
setThunderTime(int arg0)
m_6398_(int arg0)
public boolean
k()
isRaining()
method_156()
m_tvvvvmkg()
isRaining()
isRaining()
m_6533_()
public void
b(boolean arg0)
setRaining(boolean arg0)
method_157(boolean arg0)
m_wzzskura(boolean arg0)
setRaining(boolean arg0)
setRaining(boolean arg0)
m_5565_(boolean arg0)
public int
l()
getRainTime()
method_190()
m_xtlmfphg()
getRainTime()
getRainTime()
m_6531_()
public void
f(int arg0)
setRainTime(int arg0)
method_164(int arg0)
m_fvaihdey(int arg0)
setRainTime(int arg0)
setRainTime(int arg0)
m_6399_(int arg0)
public GameType
m()
getGameType()
method_210()
m_nfxieeym()
getGameMode()
getGameMode()
m_5464_()
public void
a(cgu arg0)
setGameType(GameType arg0)
method_193(class_1934 arg0)
m_njrnnxxf(C_lghcpyvl arg0)
setGameMode(GameMode arg0)
setGameMode(GameMode arg0)
m_5458_(C_1593_ arg0)
public boolean
n()
isHardcore()
method_152()
m_wqctpfjr()
isHardcore()
isHardcore()
m_5466_()
public boolean
o()
getAllowCommands()
method_194()
m_qyxytalo()
areCommandsAllowed()
areCommandsAllowed()
m_5468_()
public boolean
p()
isInitialized()
method_222()
m_msjcwnvq()
isInitialized()
isInitialized()
m_6535_()
public void
c(boolean arg0)
setInitialized(boolean arg0)
method_223(boolean arg0)
m_jksphtbg(boolean arg0)
setInitialized(boolean arg0)
setInitialized(boolean arg0)
m_5555_(boolean arg0)
public GameRules
q()
getGameRules()
method_146()
m_ruodywwf()
getGameRules()
getGameRules()
m_5470_()
public WorldBorder$Settings
r()
getWorldBorder()
method_27422()
m_dhrcnsam()
getWorldBorder()
getWorldBorder()
m_5813_()
public void
a(cxe$c arg0)
setWorldBorder(WorldBorder$Settings arg0)
method_27415(class_2784$class_5200 arg0)
m_fvpmwelf(C_pneibfez$C_koayjdos arg0)
setWorldBorder(WorldBorder$Properties arg0)
setWorldBorder(WorldBorder$Properties arg0)
m_7831_(C_2110_$C_2114_ arg0)
public Difficulty
s()
getDifficulty()
method_207()
m_jvjmdqna()
getDifficulty()
getDifficulty()
m_5472_()
public void
a(bag arg0)
setDifficulty(Difficulty arg0)
method_208(class_1267 arg0)
m_vzluryjf(C_mpbjgxic arg0)
setDifficulty(Difficulty arg0)
setDifficulty(Difficulty arg0)
m_6166_(C_468_ arg0)
public boolean
t()
isDifficultyLocked()
method_197()
m_ghcafcfc()
isDifficultyLocked()
isDifficultyLocked()
m_5474_()
public void
d(boolean arg0)
setDifficultyLocked(boolean arg0)
method_186(boolean arg0)
m_gvluntuu(boolean arg0)
setDifficultyLocked(boolean arg0)
setDifficultyLocked(boolean arg0)
m_5560_(boolean arg0)
public TimerQueue<MinecraftServer>
u()
getScheduledEvents()
method_143()
m_utneomii()
getScheduledEvents()
getScheduledEvents()
m_7540_()
public void
a(r arg0, cgz arg1)
fillCrashReportCategory(CrashReportCategory arg0, LevelHeightAccessor arg1)
method_151(class_129 arg0, class_5539 arg1)
m_beicetdf(C_qympisds arg0, C_qpninoyb arg1)
populateCrashReport(CrashReportSection arg0, HeightLimitView arg1)
populateCrashReport(CrashReportSection arg0, HeightLimitView arg1)
m_142471_(C_4909_ p_164973_, C_141183_ arg1)
public WorldGenSettings
A()
worldGenSettings()
method_28057()
m_pfxngqgk()
getGeneratorOptions()
getGeneratorOptions()
m_5961_()
public com.mojang.serialization.Lifecycle
B()
worldGenSettingsLifecycle()
method_29588()
m_ocjagmlc()
getLifecycle()
getLifecycle()
m_5754_()
public CompoundTag
C()
endDragonFightData()
method_29036()
m_hgxsrhud()
getDragonFight()
getDragonFight()
m_6564_()
public void
a(pj arg0)
setEndDragonFightData(CompoundTag arg0)
method_29037(class_2487 arg0)
m_zucuhnzk(C_hhlwcnih arg0)
setDragonFight(NbtCompound arg0)
setDragonFight(NbtCompound arg0)
m_5915_(C_4917_ arg0)
public DataPackConfig
D()
getDataPackConfig()
method_29589()
m_adubcynx()
getDataPackSettings()
getDataPackSettings()
m_7513_()
public void
a(cgl arg0)
setDataPackConfig(DataPackConfig arg0)
method_29590(class_5359 arg0)
m_wiigytdw(C_tjllhmjy arg0)
updateLevelInfo(DataPackSettings arg0)
updateLevelInfo(DataPackSettings arg0)
m_6645_(C_1573_ arg0)
public CompoundTag
E()
getCustomBossEvents()
method_228()
m_dnmmauqs()
getCustomBossEvents()
getCustomBossEvents()
m_6587_()
public void
b(pj arg0)
setCustomBossEvents(CompoundTag arg0)
method_221(class_2487 arg0)
m_zrleygwi(C_hhlwcnih arg0)
setCustomBossEvents(NbtCompound arg0)
setCustomBossEvents(NbtCompound arg0)
m_5917_(C_4917_ arg0)
public int
v()
getWanderingTraderSpawnDelay()
method_18038()
m_xuxvngtd()
getWanderingTraderSpawnDelay()
getWanderingTraderSpawnDelay()
m_6530_()
public void
g(int arg0)
setWanderingTraderSpawnDelay(int arg0)
method_18041(int arg0)
m_rbwdgdjy(int arg0)
setWanderingTraderSpawnDelay(int arg0)
setWanderingTraderSpawnDelay(int arg0)
m_6391_(int arg0)
public int
w()
getWanderingTraderSpawnChance()
method_18039()
m_atjxefmr()
getWanderingTraderSpawnChance()
getWanderingTraderSpawnChance()
m_6528_()
public void
h(int arg0)
setWanderingTraderSpawnChance(int arg0)
method_18042(int arg0)
m_rgfjfhvr(int arg0)
setWanderingTraderSpawnChance(int arg0)
setWanderingTraderSpawnChance(int arg0)
m_6387_(int arg0)
public UUID
x()
getWanderingTraderId()
method_35506()
m_tujhxokt()
getWanderingTraderId()
getWanderingTraderId()
m_142403_()
public void
a(UUID arg0)
setWanderingTraderId(UUID arg0)
method_18040(UUID arg0)
m_waaacjfi(UUID arg0)
setWanderingTraderId(UUID arg0)
setWanderingTraderId(UUID arg0)
m_8115_(UUID arg0)
public void
a(String arg0, boolean arg1)
setModdedInfo(String arg0, boolean arg1)
method_24285(String arg0, boolean arg1)
m_ntkonzzr(String arg0, boolean arg1)
addServerBrand(String arg0, boolean arg1)
addServerBrand(String arg0, boolean arg1)
m_7955_(String p_78551_, boolean arg1)
public boolean
F()
wasModded()
method_27431()
m_oewbipwe()
isModded()
isModded()
m_6565_()
public Set<String>
G()
getKnownServerBrands()
method_27432()
m_dtlspjfc()
getServerBrands()
getServerBrands()
m_6161_()
public ServerLevelData
H()
overworldData()
method_27859()
m_nxwvqmkj()
getMainWorldProperties()
getMainWorldProperties()
m_5996_()
public LevelSettings
I()
getLevelSettings()
method_27433()
m_phiwwied()
getLevelInfo()
getLevelInfo()
m_5926_()