net.minecraft.world.level.storage

public class PrimaryLevelData

implements ServerLevelData, WorldData

daj
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_R1.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
field_25030
field_237342_b_
private final WorldGenSettings
c
worldGenSettings
field_25425
field_25425
field_237343_c_
private final com.mojang.serialization.Lifecycle
d
worldGenSettingsLifecycle
field_25426
field_25426
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 long
h
gameTime
field_189
time
field_237348_h_
private long
i
dayTime
field_198
timeOfDay
field_237349_i_
private final com.mojang.datafixers.DataFixer
j
fixerUpper
field_184
dataFixer
field_237350_j_
private final int
k
playerDataVersion
field_196
dataVersion
field_237351_k_
private boolean
l
upgradedPlayerTag
field_172
playerDataLoaded
field_237352_l_
private CompoundTag
m
loadedPlayerTag
field_170
playerData
field_237353_m_
private final int
n
version
field_158
version
field_237354_n_
private int
o
clearWeatherTime
field_176
clearWeatherTime
field_237355_o_
clearWeatherTime
private boolean
p
raining
field_190
raining
field_237356_p_
raining
private int
q
rainTime
field_192
rainTime
field_237357_q_
rainTime
private boolean
r
thundering
field_168
thundering
field_237358_r_
thundering
private int
s
thunderTime
field_173
thunderTime
field_237359_s_
thunderTime
private boolean
t
initialized
field_185
initialized
field_237360_t_
private boolean
u
difficultyLocked
field_157
difficultyLocked
field_237361_u_
private WorldBorder$Settings
v
worldBorder
field_24193
worldBorder
field_237362_v_
private CompoundTag
w
endDragonFightData
field_25031
field_25031
field_237363_w_
private CompoundTag
x
customBossEvents
field_156
customBossEvents
field_237364_x_
customBossEvents
private int
y
wanderingTraderSpawnDelay
field_17736
wanderingTraderSpawnDelay
field_237365_y_
private int
z
wanderingTraderSpawnChance
field_17737
wanderingTraderSpawnChance
field_237366_z_
private UUID
A
wanderingTraderId
field_17738
wanderingTraderId
field_237337_A_
private final Set<String>
B
knownServerBrands
field_21837
serverBrands
field_237338_B_
private boolean
C
wasModded
field_21838
modded
field_237339_C_
private final TimerQueue<MinecraftServer>
D
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, 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> arg22, CompoundTag arg23, CompoundTag arg24, LevelSettings arg25, WorldGenSettings arg26, com.mojang.serialization.Lifecycle arg27)
public (LevelSettings arg0, WorldGenSettings arg1, com.mojang.serialization.Lifecycle arg2)

Method summary

Modifier and TypeMethod
public static PrimaryLevelData
a(com.mojang.serialization.Dynamic<lu> arg0, com.mojang.datafixers.DataFixer arg1, int arg2, le arg3, bqe arg4, dag arg5, cix 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(gm arg0, le arg1)
createTag(RegistryAccess arg0, CompoundTag arg1)
method_163(class_5318 arg0, class_2487 arg1)
cloneWorldTag(RegistryTracker arg0, CompoundTag arg1)
func_230411_a_(IDynamicRegistries arg0, CompoundNBT arg1)
private void
a(gm arg0, le arg1, le arg2)
setTagData(RegistryAccess arg0, CompoundTag arg1, CompoundTag arg2)
method_158(class_5318 arg0, class_2487 arg1, class_2487 arg2)
updateProperties(RegistryTracker arg0, CompoundTag arg1, CompoundTag arg2)
func_237370_a_(IDynamicRegistries 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 long
d()
getGameTime()
method_188()
getTime()
func_82573_f()
getTime()
public long
e()
getDayTime()
method_217()
getTimeOfDay()
func_76073_f()
getDayTime()
private void
I()
updatePlayerTag()
method_185()
loadPlayerData()
func_237367_I_()
public CompoundTag
x()
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(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(fu arg0)
setSpawn(BlockPos arg0)
method_187(class_2338 arg0)
setSpawnPos(BlockPos arg0)
func_176143_a(BlockPos arg0)
setSpawn(BlockPosition arg0)
public String
f()
getLevelName()
method_150()
getLevelName()
func_76065_j()
getName()
public int
y()
getVersion()
method_168()
getVersion()
func_230417_y_()
public int
g()
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
h()
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
i()
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
j()
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
k()
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
l()
getGameType()
method_210()
getGameMode()
func_76077_q()
getGameType()
public void
a(bpy arg0)
setGameType(GameType arg0)
method_193(class_1934 arg0)
setGameMode(GameMode arg0)
func_230392_a_(GameType arg0)
setGameType(EnumGamemode arg0)
public boolean
m()
isHardcore()
method_152()
isHardcore()
func_76093_s()
isHardcore()
public boolean
n()
getAllowCommands()
method_194()
areCommandsAllowed()
func_76086_u()
public boolean
o()
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
p()
getGameRules()
method_146()
getGameRules()
func_82574_x()
public WorldBorder$Settings
q()
getWorldBorder()
method_27422()
getWorldBorder()
func_230398_q_()
public void
a(cgw$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
r()
getDifficulty()
method_207()
getDifficulty()
func_176130_y()
getDifficulty()
public void
a(and arg0)
setDifficulty(Difficulty arg0)
method_208(class_1267 arg0)
setDifficulty(Difficulty arg0)
func_230409_a_(Difficulty arg0)
setDifficulty(EnumDifficulty arg0)
public boolean
s()
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>
t()
getScheduledEvents()
method_143()
getScheduledEvents()
func_215763_z()
public void
a(k arg0)
fillCrashReportCategory(CrashReportCategory arg0)
method_151(class_129 arg0)
populateCrashReport(CrashReportSection arg0)
func_85118_a(CrashReportCategory arg0)
public WorldGenSettings
z()
worldGenSettings()
method_28057()
getGeneratorOptions()
func_230418_z_()
getGeneratorSettings()
public CompoundTag
B()
endDragonFightData()
method_29036()
method_29036()
func_230402_B_()
public void
a(le arg0)
setEndDragonFightData(CompoundTag arg0)
method_29037(class_2487 arg0)
method_29037(CompoundTag arg0)
func_230413_a_(CompoundNBT arg0)
public DataPackConfig
C()
getDataPackConfig()
method_29589()
method_29589()
func_230403_C_()
public void
a(bpn arg0)
setDataPackConfig(DataPackConfig arg0)
method_29590(class_5359 arg0)
method_29590(DataPackSettings arg0)
func_230410_a_(DatapackCodec arg0)
public CompoundTag
D()
getCustomBossEvents()
method_228()
getCustomBossEvents()
func_230404_D_()
getCustomBossEvents()
public void
b(le arg0)
setCustomBossEvents(CompoundTag arg0)
method_221(class_2487 arg0)
setCustomBossEvents(CompoundTag arg0)
func_230414_b_(CompoundNBT arg0)
setCustomBossEvents(NBTTagCompound arg0)
public int
u()
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
v()
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
E()
wasModded()
method_27431()
isModded()
func_230405_E_()
public Set<String>
F()
getKnownServerBrands()
method_27432()
getServerBrands()
func_230406_F_()
public ServerLevelData
G()
overworldData()
method_27859()
getMainWorldProperties()
func_230407_G_()
public com.mojang.serialization.Lifecycle
A()
worldGenSettingsLifecycle()
method_29588()
method_29588()
func_230401_A_()
public LevelSettings
H()
getLevelSettings()
method_27433()
getLevelInfo()
func_230408_H_()