net.minecraft.world.level.storage

public class DerivedLevelData

implements ServerLevelData

dhw
net.minecraft.world.level.storage.DerivedLevelData
net.minecraft.class_27
net.minecraft.world.level.UnmodifiableLevelProperties
net.minecraft.src.C_2780_
net.minecraft.world.level.storage.SecondaryWorldData

Field summary

Modifier and TypeField
private final WorldData
a
worldData
field_24179
saveProperties
f_78076_
private final ServerLevelData
b
wrapped
field_139
worldProperties
f_78077_

Constructor summary

ModifierConstructor
public (WorldData saveProperties, ServerLevelData worldProperties)

Method summary

Modifier and TypeMethod
public int
a()
getXSpawn()
method_215()
getSpawnX()
m_6789_()
public int
b()
getYSpawn()
method_144()
getSpawnY()
m_6527_()
public int
c()
getZSpawn()
method_166()
getSpawnZ()
m_6526_()
public float
d()
getSpawnAngle()
method_30656()
getSpawnAngle()
m_6790_()
public long
e()
getGameTime()
method_188()
getTime()
m_6793_()
getTime()
public long
f()
getDayTime()
method_217()
getTimeOfDay()
m_6792_()
getDayTime()
public String
g()
getLevelName()
method_150()
getLevelName()
m_5462_()
getName()
public int
h()
getClearWeatherTime()
method_155()
getClearWeatherTime()
m_6537_()
getClearWeatherTime()
public void
a(int arg0)
setClearWeatherTime(int arg0)
method_167(int arg0)
setClearWeatherTime(int arg0)
m_6393_(int arg0)
setClearWeatherTime(int arg0)
public boolean
i()
isThundering()
method_203()
isThundering()
m_6534_()
isThundering()
public int
j()
getThunderTime()
method_145()
getThunderTime()
m_6558_()
getThunderDuration()
public boolean
k()
isRaining()
method_156()
isRaining()
m_6533_()
hasStorm()
public int
l()
getRainTime()
method_190()
getRainTime()
m_6531_()
getWeatherDuration()
public GameType
m()
getGameType()
method_210()
getGameMode()
m_5464_()
getGameType()
public void
b(int arg0)
setXSpawn(int arg0)
method_27416(int arg0)
setSpawnX(int arg0)
m_6395_(int arg0)
public void
c(int arg0)
setYSpawn(int arg0)
method_27417(int arg0)
setSpawnY(int arg0)
m_6397_(int arg0)
public void
d(int arg0)
setZSpawn(int arg0)
method_27419(int arg0)
setSpawnZ(int arg0)
m_6400_(int arg0)
public void
a(float arg0)
setSpawnAngle(float arg0)
method_30657(float arg0)
setSpawnAngle(float arg0)
m_7113_(float arg0)
public void
a(long arg0)
setGameTime(long arg0)
method_29034(long arg0)
setTime(long arg0)
m_6253_(long arg0)
setTime(long arg0)
public void
b(long arg0)
setDayTime(long arg0)
method_29035(long arg0)
setTimeOfDay(long arg0)
m_6247_(long arg0)
setDayTime(long arg0)
public void
a(gg arg0, float arg1)
setSpawn(BlockPos arg0, float arg1)
method_187(class_2338 arg0, float arg1)
setSpawnPos(BlockPos arg0, float arg1)
m_7250_(C_4675_ p_78094_, float arg1)
setSpawn(BlockPosition arg0, float arg1)
public void
a(boolean arg0)
setThundering(boolean arg0)
method_147(boolean arg0)
setThundering(boolean arg0)
m_5557_(boolean arg0)
setThundering(boolean arg0)
public void
e(int arg0)
setThunderTime(int arg0)
method_173(int arg0)
setThunderTime(int arg0)
m_6398_(int arg0)
setThunderDuration(int arg0)
public void
b(boolean arg0)
setRaining(boolean arg0)
method_157(boolean arg0)
setRaining(boolean arg0)
m_5565_(boolean arg0)
setStorm(boolean arg0)
public void
f(int arg0)
setRainTime(int arg0)
method_164(int arg0)
setRainTime(int arg0)
m_6399_(int arg0)
setWeatherDuration(int arg0)
public void
a(bwm arg0)
setGameType(GameType arg0)
method_193(class_1934 arg0)
setGameMode(GameMode arg0)
m_5458_(C_1593_ arg0)
setGameType(EnumGamemode arg0)
public boolean
n()
isHardcore()
method_152()
isHardcore()
m_5466_()
isHardcore()
public boolean
o()
getAllowCommands()
method_194()
areCommandsAllowed()
m_5468_()
public boolean
p()
isInitialized()
method_222()
isInitialized()
m_6535_()
public void
c(boolean arg0)
setInitialized(boolean arg0)
method_223(boolean arg0)
setInitialized(boolean arg0)
m_5555_(boolean arg0)
public GameRules
q()
getGameRules()
method_146()
getGameRules()
m_5470_()
public WorldBorder$Settings
r()
getWorldBorder()
method_27422()
getWorldBorder()
m_5813_()
public void
a(cmi$c arg0)
setWorldBorder(WorldBorder$Settings arg0)
method_27415(class_2784$class_5200 arg0)
setWorldBorder(WorldBorder$Properties arg0)
m_7831_(C_2110_$C_2114_ arg0)
public Difficulty
s()
getDifficulty()
method_207()
getDifficulty()
m_5472_()
getDifficulty()
public boolean
t()
isDifficultyLocked()
method_197()
isDifficultyLocked()
m_5474_()
isDifficultyLocked()
public TimerQueue<MinecraftServer>
u()
getScheduledEvents()
method_143()
getScheduledEvents()
m_7540_()
public int
v()
getWanderingTraderSpawnDelay()
method_18038()
getWanderingTraderSpawnDelay()
m_6530_()
public void
g(int arg0)
setWanderingTraderSpawnDelay(int arg0)
method_18041(int arg0)
setWanderingTraderSpawnDelay(int arg0)
m_6391_(int arg0)
public int
w()
getWanderingTraderSpawnChance()
method_18039()
getWanderingTraderSpawnChance()
m_6528_()
public void
h(int arg0)
setWanderingTraderSpawnChance(int arg0)
method_18042(int arg0)
setWanderingTraderSpawnChance(int arg0)
m_6387_(int arg0)
public UUID
x()
getWanderingTraderId()
method_35506()
getWanderingTraderId()
m_142403_()
public void
a(UUID arg0)
setWanderingTraderId(UUID arg0)
method_18040(UUID arg0)
setWanderingTraderId(UUID arg0)
m_8115_(UUID arg0)
public void
a(r arg0, bwr arg1)
fillCrashReportCategory(CrashReportCategory arg0, LevelHeightAccessor arg1)
method_151(class_129 arg0, class_5539 arg1)
populateCrashReport(CrashReportSection arg0, HeightLimitView arg1)
m_142471_(C_4909_ p_164853_, C_141183_ arg1)