net.minecraft.world.level.storage

public class LevelData

com
net.minecraft.world.level.storage.LevelData
net.minecraft.class_31
net.minecraft.world.level.LevelProperties
net.minecraft.world.storage.WorldInfo
net.minecraft.server.v1_14_R1.WorldData

Field summary

Modifier and TypeField
private String
b
minecraftVersionName
field_162
versionName
field_186349_b
private int
c
minecraftVersion
field_183
versionId
field_186350_c
private boolean
d
snapshot
field_194
versionSnapshot
field_186351_d
public static final Difficulty
a
DEFAULT_DIFFICULTY
field_175
DEFAULT_DIFFICULTY
field_176156_a
private long
e
seed
field_153
randomSeed
field_76100_a
private LevelType
f
generator
field_163
generatorType
field_76098_b
private CompoundTag
g
generatorOptions
field_166
generatorOptions
field_82576_c
private String
h
legacyCustomOptions
field_152
legacyCustomOptions
field_211931_h
private int
i
xSpawn
field_151
spawnX
field_76099_c
private int
j
ySpawn
field_167
spawnY
field_76096_d
private int
k
zSpawn
field_182
spawnZ
field_76097_e
private long
l
gameTime
field_189
time
field_82575_g
private long
m
dayTime
field_198
timeOfDay
field_76094_f
private long
n
lastPlayed
field_165
lastPlayed
field_76095_g
private long
o
sizeOnDisk
field_181
sizeOnDisk
field_76107_h
private final com.mojang.datafixers.DataFixer
p
fixerUpper
field_184
dataFixer
field_209226_o
private final int
q
playerDataVersion
field_196
playerWorldId
field_209227_p
private boolean
r
upgradedPlayerTag
field_172
playerDataLoaded
field_209228_q
private CompoundTag
s
loadedPlayerTag
field_170
playerData
field_76108_i
private String
t
levelName
field_169
levelName
field_76106_k
levelName
private int
u
version
field_158
version
field_76103_l
private int
v
clearWeatherTime
field_176
clearWeatherTime
field_176157_p
clearWeatherTime
private boolean
w
raining
field_190
raining
field_76104_m
raining
private int
x
rainTime
field_192
rainTime
field_76101_n
rainTime
private boolean
y
thundering
field_168
thundering
field_76102_o
thundering
private int
z
thunderTime
field_173
thunderTime
field_76114_p
thunderTime
private GameType
A
gameType
field_179
gameMode
field_76113_q
private boolean
B
generateMapFeatures
field_195
structures
field_76112_r
private boolean
C
hardcore
field_159
hardcore
field_76111_s
private boolean
D
allowCommands
field_177
commandsAllowed
field_76110_t
private boolean
E
initialized
field_185
initialized
field_76109_u
private Difficulty
F
difficulty
field_174
difficulty
field_176158_z
private boolean
G
difficultyLocked
field_157
difficultyLocked
field_176150_A
private double
H
borderX
field_164
borderCenterX
field_176151_B
private double
I
borderZ
field_180
borderCenterZ
field_176152_C
private double
J
borderSize
field_188
borderSize
field_176146_D
private long
K
borderSizeLerpTime
field_199
borderSizeLerpTime
field_176147_E
private double
L
borderSizeLerpTarget
field_160
borderSizeLerpTarget
field_176148_F
private double
M
borderSafeZone
field_178
borderSafeZone
field_176149_G
private double
N
borderDamagePerBlock
field_187
borderDamagePerBlock
field_176153_H
private int
O
borderWarningBlocks
field_197
borderWarningBlocks
field_176154_I
private int
P
borderWarningTime
field_161
borderWarningTime
field_176155_J
private final Set<String>
Q
disabledDataPacks
field_155
disabledDataPacks
field_197721_N
private final Set<String>
R
enabledDataPacks
field_171
enabledDataPacks
field_197722_O
private final Map<DimensionType, CompoundTag>
S
dimensionData
field_193
worldData
field_186348_N
private CompoundTag
T
customBossEvents
field_156
customBossEvents
field_201358_Q
private int
U
wanderingTraderSpawnDelay
field_17736
wanderingTraderSpawnDelay
field_215766_V
private int
V
wanderingTraderSpawnChance
field_17737
wanderingTraderSpawnChance
field_215767_W
private UUID
W
wanderingTraderId
field_17738
wanderingTraderId
field_215768_X
private final GameRules
X
gameRules
field_154
gameRules
field_82577_x
private final TimerQueue<MinecraftServer>
Y
scheduledEvents
field_191
scheduledEvents
field_215769_Z

Constructor summary

ModifierConstructor
protected ()
public (CompoundTag arg0, com.mojang.datafixers.DataFixer arg1, int arg2, CompoundTag arg3)
public (LevelSettings arg0, String levelName)

Method summary

Modifier and TypeMethod
public void
a(bhv arg0)
setLevelSettings(LevelSettings arg0)
method_140(class_1940 arg0)
loadLevelInfo(LevelInfo levelInfo)
func_176127_a(WorldSettings arg0)
public CompoundTag
a(id arg0)
createTag(CompoundTag arg0)
method_163(class_2487 arg0)
cloneWorldTag(CompoundTag playerTag)
func_76082_a(CompoundNBT arg0)
private void
a(id arg0, id arg1)
setTagData(CompoundTag arg0, CompoundTag arg1)
method_158(class_2487 arg0, class_2487 arg1)
updateProperties(CompoundTag levelTag, CompoundTag playerTag)
func_76064_a(CompoundNBT arg0, CompoundNBT arg1)
public long
a()
getSeed()
method_184()
getSeed()
func_76063_b()
getSeed()
public int
b()
getXSpawn()
method_215()
getSpawnX()
func_76079_c()
public int
c()
getYSpawn()
method_144()
getSpawnY()
func_76075_d()
public int
d()
getZSpawn()
method_166()
getSpawnZ()
func_76074_e()
public long
e()
getGameTime()
method_188()
getTime()
func_82573_f()
getTime()
public long
f()
getDayTime()
method_217()
getTimeOfDay()
func_76073_f()
getDayTime()
private void
T()
updatePlayerTag()
method_185()
loadPlayerData()
func_209225_Q()
public CompoundTag
h()
getLoadedPlayerTag()
method_226()
getPlayerData()
func_76072_h()
public void
a(long arg0)
setGameTime(long arg0)
method_177(long arg0)
setTime(long time)
func_82572_b(long arg0)
setTime(long arg0)
public void
b(long arg0)
setDayTime(long arg0)
method_165(long arg0)
setTimeOfDay(long timeOfDay)
func_76068_b(long arg0)
setDayTime(long arg0)
public void
a(ew arg0)
setSpawn(BlockPos arg0)
method_187(class_2338 arg0)
setSpawnPos(BlockPos arg0)
func_176143_a(BlockPos arg0)
setSpawn(BlockPosition arg0)
public String
i()
getLevelName()
method_150()
getLevelName()
func_76065_j()
getName()
public void
a(String arg0)
setLevelName(String arg0)
method_182(String arg0)
setLevelName(String levelName)
func_76062_a(String arg0)
setName(String arg0)
public int
j()
getVersion()
method_168()
getVersion()
func_76088_k()
public void
d(int arg0)
setVersion(int arg0)
method_142(int arg0)
setVersion(int version)
func_76078_e(int arg0)
public int
z()
getClearWeatherTime()
method_155()
getClearWeatherTime()
func_176133_A()
public void
g(int arg0)
setClearWeatherTime(int arg0)
method_167(int arg0)
setClearWeatherTime(int clearWeatherTime)
func_176142_i(int arg0)
public boolean
l()
isThundering()
method_203()
isThundering()
func_76061_m()
isThundering()
public void
a(boolean arg0)
setThundering(boolean arg0)
method_147(boolean arg0)
setThundering(boolean thundering)
func_76069_a(boolean arg0)
setThundering(boolean arg0)
public int
m()
getThunderTime()
method_145()
getThunderTime()
func_76071_n()
getThunderDuration()
public void
e(int arg0)
setThunderTime(int arg0)
method_173(int arg0)
setThunderTime(int thunderTime)
func_76090_f(int arg0)
setThunderDuration(int arg0)
public boolean
n()
isRaining()
method_156()
isRaining()
func_76059_o()
hasStorm()
public void
b(boolean arg0)
setRaining(boolean arg0)
method_157(boolean arg0)
setRaining(boolean raining)
func_76084_b(boolean arg0)
setStorm(boolean arg0)
public int
o()
getRainTime()
method_190()
getRainTime()
func_76083_p()
getWeatherDuration()
public void
f(int arg0)
setRainTime(int arg0)
method_164(int arg0)
setRainTime(int rainTime)
func_76080_g(int arg0)
setWeatherDuration(int arg0)
public GameType
p()
getGameType()
method_210()
getGameMode()
func_76077_q()
getGameType()
public boolean
q()
isGenerateMapFeatures()
method_220()
hasStructures()
func_76089_r()
shouldGenerateMapFeatures()
public void
f(boolean arg0)
setGenerateMapFeatures(boolean arg0)
method_196(boolean arg0)
setStructures(boolean structures)
func_176128_f(boolean arg0)
public void
a(bho arg0)
setGameType(GameType arg0)
method_193(class_1934 arg0)
setGameMode(GameMode arg0)
func_76060_a(GameType arg0)
setGameType(EnumGamemode arg0)
public boolean
r()
isHardcore()
method_152()
isHardcore()
func_76093_s()
isHardcore()
public void
g(boolean arg0)
setHardcore(boolean arg0)
method_198(boolean arg0)
setHardcore(boolean hardcore)
func_176119_g(boolean arg0)
public LevelType
s()
getGeneratorType()
method_153()
getGeneratorType()
func_76067_t()
getType()
public void
a(bhy arg0)
setGenerator(LevelType arg0)
method_225(class_1942 arg0)
setGeneratorType(LevelGeneratorType arg0)
func_76085_a(WorldType arg0)
public CompoundTag
A()
getGeneratorOptions()
method_169()
getGeneratorOptions()
func_211027_A()
getGeneratorOptions()
public void
b(id arg0)
setGeneratorOptions(CompoundTag arg0)
method_175(class_2487 arg0)
setGeneratorOptions(CompoundTag arg0)
func_212242_b(CompoundNBT arg0)
public boolean
t()
getAllowCommands()
method_194()
areCommandsAllowed()
func_76086_u()
public void
c(boolean arg0)
setAllowCommands(boolean arg0)
method_211(boolean arg0)
setCommandsAllowed(boolean commandsAllowed)
func_176121_c(boolean arg0)
public boolean
u()
isInitialized()
method_222()
isInitialized()
func_76070_v()
public void
d(boolean arg0)
setInitialized(boolean arg0)
method_223(boolean arg0)
setInitialized(boolean initialized)
func_76091_d(boolean arg0)
public GameRules
v()
getGameRules()
method_146()
getGameRules()
func_82574_x()
public double
B()
getBorderX()
method_204()
getBorderCenterX()
func_176120_C()
public double
C()
getBorderZ()
method_139()
getBorderCenterZ()
func_176126_D()
public double
D()
getBorderSize()
method_206()
getBorderSize()
func_176137_E()
public void
a(double arg0)
setBorderSize(double arg0)
method_162(double arg0)
setBorderSize(double borderSize)
func_176145_a(double arg0)
public long
E()
getBorderSizeLerpTime()
method_183()
getBorderSizeLerpTime()
func_176134_F()
public void
c(long arg0)
setBorderSizeLerpTime(long arg0)
method_195(long arg0)
setBorderSizeLerpTime(long borderSizeLerpTime)
func_176135_e(long arg0)
public double
F()
getBorderSizeLerpTarget()
method_159()
getBorderSizeLerpTarget()
func_176132_G()
public void
b(double arg0)
setBorderSizeLerpTarget(double arg0)
method_174(double arg0)
setBorderSizeLerpTarget(double borderSizeLerpTarget)
func_176118_b(double arg0)
public void
c(double arg0)
setBorderZ(double arg0)
method_189(double arg0)
borderCenterZ(double borderCenterZ)
func_176141_c(double arg0)
public void
d(double arg0)
setBorderX(double arg0)
method_200(double arg0)
setBorderCenterX(double borderCenterX)
func_176124_d(double arg0)
public double
G()
getBorderSafeZone()
method_178()
getBorderSafeZone()
func_176138_H()
public void
e(double arg0)
setBorderSafeZone(double arg0)
method_216(double arg0)
setBorderSafeZone(double borderSafeZone)
func_176129_e(double arg0)
public double
H()
getBorderDamagePerBlock()
method_202()
getBorderDamagePerBlock()
func_176140_I()
public void
f(double arg0)
setBorderDamagePerBlock(double arg0)
method_229(double arg0)
setBorderDamagePerBlock(double borderDamagePerBlock)
func_176125_f(double arg0)
public int
I()
getBorderWarningBlocks()
method_227()
getBorderWarningBlocks()
func_176131_J()
public int
J()
getBorderWarningTime()
method_161()
getBorderWarningTime()
func_176139_K()
public void
h(int arg0)
setBorderWarningBlocks(int arg0)
method_201(int arg0)
setBorderWarningBlocks(int borderWarningBlocks)
func_176122_j(int arg0)
public void
i(int arg0)
setBorderWarningTime(int arg0)
method_192(int arg0)
setBorderWarningTime(int borderWarningTime)
func_176136_k(int arg0)
public Difficulty
w()
getDifficulty()
method_207()
getDifficulty()
func_176130_y()
getDifficulty()
public void
a(ahg arg0)
setDifficulty(Difficulty arg0)
method_208(class_1267 arg0)
setDifficulty(Difficulty arg0)
func_176144_a(Difficulty arg0)
setDifficulty(EnumDifficulty arg0)
public boolean
x()
isDifficultyLocked()
method_197()
isDifficultyLocked()
func_176123_z()
isDifficultyLocked()
public void
e(boolean arg0)
setDifficultyLocked(boolean arg0)
method_186(boolean arg0)
setDifficultyLocked(boolean difficultyLocked)
func_180783_e(boolean arg0)
public TimerQueue<MinecraftServer>
y()
getScheduledEvents()
method_143()
getScheduledEvents()
func_215763_z()
public void
a(e arg0)
fillCrashReportCategory(CrashReportCategory arg0)
method_151(class_129 arg0)
populateCrashReport(CrashReportSection arg0)
func_85118_a(CrashReportCategory arg0)
public CompoundTag
a(byn arg0)
getDimensionData(DimensionType arg0)
method_170(class_2874 arg0)
getWorldData(DimensionType arg0)
func_186347_a(DimensionType arg0)
public void
a(byn arg0, id arg1)
setDimensionData(DimensionType arg0, CompoundTag arg1)
method_160(class_2874 arg0, class_2487 arg1)
setWorldData(DimensionType type, CompoundTag arg1)
func_186345_a(DimensionType arg0, CompoundNBT arg1)
public Set<String>
N()
getDisabledDataPacks()
method_209()
getDisabledDataPacks()
func_197719_N()
public Set<String>
O()
getEnabledDataPacks()
method_179()
getEnabledDataPacks()
func_197720_O()
public CompoundTag
P()
getCustomBossEvents()
method_228()
getCustomBossEvents()
func_201357_P()
getCustomBossEvents()
public void
c(id arg0)
setCustomBossEvents(CompoundTag arg0)
method_221(class_2487 arg0)
setCustomBossEvents(CompoundTag customBossEvents)
func_201356_c(CompoundNBT arg0)
public int
Q()
getWanderingTraderSpawnDelay()
method_18038()
getWanderingTraderSpawnDelay()
func_215765_R()
public void
j(int arg0)
setWanderingTraderSpawnDelay(int arg0)
method_18041(int arg0)
setWanderingTraderSpawnDelay(int wanderingTraderSpawnDelay)
func_215764_j(int arg0)
public int
R()
getWanderingTraderSpawnChance()
method_18039()
getWanderingTraderSpawnChance()
func_215760_S()
public void
k(int arg0)
setWanderingTraderSpawnChance(int arg0)
method_18042(int arg0)
setWanderingTraderSpawnChance(int wanderingTraderSpawnChance)
func_215762_k(int arg0)
public void
a(UUID arg0)
setWanderingTraderId(UUID arg0)
method_18040(UUID arg0)
setWanderingTraderId(UUID wanderingTraderId)
func_215761_a(UUID arg0)
public void
a(int arg0)
setXSpawn(int arg0)
method_212(int arg0)
setSpawnX(int spawnX)
func_76058_a(int arg0)
public void
b(int arg0)
setYSpawn(int arg0)
method_213(int arg0)
setSpawnY(int spawnY)
func_76056_b(int arg0)
public void
c(int arg0)
setZSpawn(int arg0)
method_154(int arg0)
setSpawnZ(int spawnZ)
func_76087_c(int arg0)
public long
k()
getLastPlayed()
method_191()
getLastPlayed()
func_76057_l()
public int
K()
getMinecraftVersion()
method_180()
getVersionId()
func_186344_K()
public boolean
L()
isSnapshot()
method_171()
isVersionSnapshot()
func_186343_L()
public String
M()
getMinecraftVersionName()
method_219()
getVersionName()
func_186346_M()