net.minecraft.world.level.storage

public class PrimaryLevelData

implements ServerLevelData, WorldData

cyi
net.minecraft.world.level.storage.PrimaryLevelData
net.minecraft.class_31
net.minecraft.world.level.LevelProperties
net.minecraft.world.storage.ServerWorldInfo
net.minecraft.server.v1_16_R2.WorldDataServer

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
a
LOGGER
field_25029
LOGGER
field_237341_a_
private LevelSettings
b
settings
field_25030
levelInfo
field_237342_b_
private final WorldGenSettings
c
worldGenSettings
field_25425
generatorOptions
field_237343_c_
private final com.mojang.serialization.Lifecycle
d
worldGenSettingsLifecycle
field_25426
lifecycle
field_237344_d_
private int
e
xSpawn
field_151
spawnX
field_237345_e_
private int
f
ySpawn
field_167
spawnY
field_237346_f_
private int
g
zSpawn
field_182
spawnZ
field_237347_g_
private float
h
spawnAngle
field_26367
spawnAngle
field_242984_h
private long
i
gameTime
field_189
time
field_237348_h_
private long
j
dayTime
field_198
timeOfDay
field_237349_i_
private final com.mojang.datafixers.DataFixer
k
fixerUpper
field_184
dataFixer
field_237350_j_
private final int
l
playerDataVersion
field_196
dataVersion
field_237351_k_
private boolean
m
upgradedPlayerTag
field_172
playerDataLoaded
field_237352_l_
private CompoundTag
n
loadedPlayerTag
field_170
playerData
field_237353_m_
private final int
o
version
field_158
version
field_237354_n_
private int
p
clearWeatherTime
field_176
clearWeatherTime
field_237355_o_
clearWeatherTime
private boolean
q
raining
field_190
raining
field_237356_p_
raining
private int
r
rainTime
field_192
rainTime
field_237357_q_
rainTime
private boolean
s
thundering
field_168
thundering
field_237358_r_
thundering
private int
t
thunderTime
field_173
thunderTime
field_237359_s_
thunderTime
private boolean
u
initialized
field_185
initialized
field_237360_t_
private boolean
v
difficultyLocked
field_157
difficultyLocked
field_237361_u_
private WorldBorder$Settings
w
worldBorder
field_24193
worldBorder
field_237362_v_
private CompoundTag
x
endDragonFightData
field_25031
dragonFight
field_237363_w_
private CompoundTag
y
customBossEvents
field_156
customBossEvents
field_237364_x_
customBossEvents
private int
z
wanderingTraderSpawnDelay
field_17736
wanderingTraderSpawnDelay
field_237365_y_
private int
A
wanderingTraderSpawnChance
field_17737
wanderingTraderSpawnChance
field_237366_z_
private UUID
B
wanderingTraderId
field_17738
wanderingTraderId
field_237337_A_
private final Set<String>
C
knownServerBrands
field_21837
serverBrands
field_237338_B_
private boolean
D
wasModded
field_21838
modded
field_237339_C_
private final TimerQueue<MinecraftServer>
E
scheduledEvents
field_191
scheduledEvents
field_237340_D_

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, LinkedHashSet<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<mt> arg0, com.mojang.datafixers.DataFixer arg1, int arg2, md arg3, brx arg4, cyf arg5, cht 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)
method_29029(com.mojang.serialization.Dynamic<Tag> arg0, com.mojang.datafixers.DataFixer arg1, int arg2, CompoundTag arg3, LevelInfo arg4, SaveVersionInfo arg5, GeneratorOptions arg6, com.mojang.serialization.Lifecycle arg7)
func_237369_a_(com.mojang.serialization.Dynamic<INBT> arg0, com.mojang.datafixers.DataFixer arg1, int arg2, CompoundNBT arg3, WorldSettings arg4, VersionData arg5, DimensionGeneratorSettings arg6, com.mojang.serialization.Lifecycle arg7)
public CompoundTag
a(gn arg0, md arg1)
createTag(RegistryAccess arg0, CompoundTag arg1)
method_163(class_5455 arg0, class_2487 arg1)
cloneWorldTag(DynamicRegistryManager arg0, CompoundTag arg1)
func_230411_a_(DynamicRegistries arg0, CompoundNBT arg1)
private void
a(gn arg0, md arg1, md arg2)
setTagData(RegistryAccess arg0, CompoundTag arg1, CompoundTag arg2)
method_158(class_5455 arg0, class_2487 arg1, class_2487 arg2)
updateProperties(DynamicRegistryManager arg0, CompoundTag arg1, CompoundTag arg2)
func_237370_a_(DynamicRegistries arg0, CompoundNBT arg1, CompoundNBT arg2)
public int
a()
getXSpawn()
method_215()
getSpawnX()
func_76079_c()
public int
b()
getYSpawn()
method_144()
getSpawnY()
func_76075_d()
public int
c()
getZSpawn()
method_166()
getSpawnZ()
func_76074_e()
public float
d()
getSpawnAngle()
method_30656()
getSpawnAngle()
func_241860_d()
public long
e()
getGameTime()
method_188()
getTime()
func_82573_f()
getTime()
public long
f()
getDayTime()
method_217()
getTimeOfDay()
func_76073_f()
getDayTime()
private void
J()
updatePlayerTag()
method_185()
loadPlayerData()
func_237367_I_()
public CompoundTag
y()
getLoadedPlayerTag()
method_226()
getPlayerData()
func_230416_x_()
public void
b(int arg0)
setXSpawn(int arg0)
method_27416(int arg0)
setSpawnX(int arg0)
func_76058_a(int arg0)
public void
c(int arg0)
setYSpawn(int arg0)
method_27417(int arg0)
setSpawnY(int arg0)
func_76056_b(int arg0)
public void
d(int arg0)
setZSpawn(int arg0)
method_27419(int arg0)
setSpawnZ(int arg0)
func_76087_c(int arg0)
public void
a(float arg0)
setSpawnAngle(float arg0)
method_30657(float arg0)
setSpawnAngle(float arg0)
func_241859_a(float arg0)
public void
a(long arg0)
setGameTime(long arg0)
method_29034(long arg0)
setTime(long arg0)
func_82572_b(long arg0)
setTime(long arg0)
public void
b(long arg0)
setDayTime(long arg0)
method_29035(long arg0)
setTimeOfDay(long arg0)
func_76068_b(long arg0)
setDayTime(long arg0)
public void
a(fx arg0, float arg1)
setSpawn(BlockPos arg0, float arg1)
method_187(class_2338 arg0, float arg1)
setSpawnPos(BlockPos arg0, float arg1)
func_176143_a(BlockPos arg0, float arg1)
setSpawn(BlockPosition arg0, float arg1)
public String
g()
getLevelName()
method_150()
getLevelName()
func_76065_j()
getName()
public int
z()
getVersion()
method_168()
getVersion()
func_230417_y_()
public int
h()
getClearWeatherTime()
method_155()
getClearWeatherTime()
func_230395_g_()
public void
a(int arg0)
setClearWeatherTime(int arg0)
method_167(int arg0)
setClearWeatherTime(int arg0)
func_230391_a_(int arg0)
public boolean
i()
isThundering()
method_203()
isThundering()
func_76061_m()
isThundering()
public void
a(boolean arg0)
setThundering(boolean arg0)
method_147(boolean arg0)
setThundering(boolean arg0)
func_76069_a(boolean arg0)
setThundering(boolean arg0)
public int
j()
getThunderTime()
method_145()
getThunderTime()
func_76071_n()
getThunderDuration()
public void
e(int arg0)
setThunderTime(int arg0)
method_173(int arg0)
setThunderTime(int arg0)
func_76090_f(int arg0)
setThunderDuration(int arg0)
public boolean
k()
isRaining()
method_156()
isRaining()
func_76059_o()
hasStorm()
public void
b(boolean arg0)
setRaining(boolean arg0)
method_157(boolean arg0)
setRaining(boolean arg0)
func_76084_b(boolean arg0)
setStorm(boolean arg0)
public int
l()
getRainTime()
method_190()
getRainTime()
func_76083_p()
getWeatherDuration()
public void
f(int arg0)
setRainTime(int arg0)
method_164(int arg0)
setRainTime(int arg0)
func_76080_g(int arg0)
setWeatherDuration(int arg0)
public GameType
m()
getGameType()
method_210()
getGameMode()
func_76077_q()
getGameType()
public void
a(brr arg0)
setGameType(GameType arg0)
method_193(class_1934 arg0)
setGameMode(GameMode arg0)
func_230392_a_(GameType arg0)
setGameType(EnumGamemode arg0)
public boolean
n()
isHardcore()
method_152()
isHardcore()
func_76093_s()
isHardcore()
public boolean
o()
getAllowCommands()
method_194()
areCommandsAllowed()
func_76086_u()
public boolean
p()
isInitialized()
method_222()
isInitialized()
func_76070_v()
public void
c(boolean arg0)
setInitialized(boolean arg0)
method_223(boolean arg0)
setInitialized(boolean arg0)
func_76091_d(boolean arg0)
public GameRules
q()
getGameRules()
method_146()
getGameRules()
func_82574_x()
public WorldBorder$Settings
r()
getWorldBorder()
method_27422()
getWorldBorder()
func_230398_q_()
public void
a(cfr$c arg0)
setWorldBorder(WorldBorder$Settings arg0)
method_27415(class_2784$class_5200 arg0)
setWorldBorder(WorldBorder$Properties arg0)
func_230393_a_(WorldBorder$Serializer arg0)
public Difficulty
s()
getDifficulty()
method_207()
getDifficulty()
func_176130_y()
getDifficulty()
public void
a(aoo arg0)
setDifficulty(Difficulty arg0)
method_208(class_1267 arg0)
setDifficulty(Difficulty arg0)
func_230409_a_(Difficulty arg0)
setDifficulty(EnumDifficulty arg0)
public boolean
t()
isDifficultyLocked()
method_197()
isDifficultyLocked()
func_176123_z()
isDifficultyLocked()
public void
d(boolean arg0)
setDifficultyLocked(boolean arg0)
method_186(boolean arg0)
setDifficultyLocked(boolean arg0)
func_230415_d_(boolean arg0)
public TimerQueue<MinecraftServer>
u()
getScheduledEvents()
method_143()
getScheduledEvents()
func_215763_z()
public void
a(m arg0)
fillCrashReportCategory(CrashReportCategory arg0)
method_151(class_129 arg0)
populateCrashReport(CrashReportSection arg0)
func_85118_a(CrashReportCategory arg0)
public WorldGenSettings
A()
worldGenSettings()
method_28057()
getGeneratorOptions()
func_230418_z_()
getGeneratorSettings()
public CompoundTag
C()
endDragonFightData()
method_29036()
getDragonFight()
func_230402_B_()
public void
a(md arg0)
setEndDragonFightData(CompoundTag arg0)
method_29037(class_2487 arg0)
setDragonFight(CompoundTag arg0)
func_230413_a_(CompoundNBT arg0)
public DataPackConfig
D()
getDataPackConfig()
method_29589()
getDataPackSettings()
func_230403_C_()
public void
a(brh arg0)
setDataPackConfig(DataPackConfig arg0)
method_29590(class_5359 arg0)
updateLevelInfo(DataPackSettings arg0)
func_230410_a_(DatapackCodec arg0)
public CompoundTag
E()
getCustomBossEvents()
method_228()
getCustomBossEvents()
func_230404_D_()
getCustomBossEvents()
public void
b(md arg0)
setCustomBossEvents(CompoundTag arg0)
method_221(class_2487 arg0)
setCustomBossEvents(CompoundTag arg0)
func_230414_b_(CompoundNBT arg0)
setCustomBossEvents(NBTTagCompound arg0)
public int
v()
getWanderingTraderSpawnDelay()
method_18038()
getWanderingTraderSpawnDelay()
func_230399_u_()
public void
g(int arg0)
setWanderingTraderSpawnDelay(int arg0)
method_18041(int arg0)
setWanderingTraderSpawnDelay(int arg0)
func_230396_g_(int arg0)
public int
w()
getWanderingTraderSpawnChance()
method_18039()
getWanderingTraderSpawnChance()
func_230400_v_()
public void
h(int arg0)
setWanderingTraderSpawnChance(int arg0)
method_18042(int arg0)
setWanderingTraderSpawnChance(int arg0)
func_230397_h_(int arg0)
public void
a(UUID arg0)
setWanderingTraderId(UUID arg0)
method_18040(UUID arg0)
setWanderingTraderId(UUID arg0)
func_230394_a_(UUID arg0)
public void
a(String arg0, boolean arg1)
setModdedInfo(String arg0, boolean arg1)
method_24285(String arg0, boolean arg1)
addServerBrand(String arg0, boolean arg1)
func_230412_a_(String arg0, boolean arg1)
public boolean
F()
wasModded()
method_27431()
isModded()
func_230405_E_()
public Set<String>
G()
getKnownServerBrands()
method_27432()
getServerBrands()
func_230406_F_()
public ServerLevelData
H()
overworldData()
method_27859()
getMainWorldProperties()
func_230407_G_()
public com.mojang.serialization.Lifecycle
B()
worldGenSettingsLifecycle()
method_29588()
getLifecycle()
func_230401_A_()
public LevelSettings
I()
getLevelSettings()
method_27433()
getLevelInfo()
func_230408_H_()