net.minecraft.world

public class WorldData

ccb
net.minecraft.class_100
net.minecraft.world.WorldData
net.minecraft.world.storage.WorldInfo
net.minecraft.world.storage.WorldInfo

Field summary

Modifier and TypeField
private String
b
field_13100
versionName
field_186349_b
versionName
private int
c
field_13101
versionId
field_186350_c
versionId
private boolean
d
field_13102
versionSnapshot
field_186351_d
versionSnapshot
public static final Difficulty
a
field_10265
DEFAULT_DIFFICULTY
field_176156_a
DEFAULT_DIFFICULTY
private long
e
field_233
seed
field_76100_a
randomSeed
private WorldGeneratorType
f
field_234
generatorType
field_76098_b
generator
private NbtCompound
g
field_19765
generatorOptions
field_82576_c
generatorOptions
private String
h
field_19766
legacyGeneratorOptions
field_211931_h
legacyCustomOptions
private int
i
field_235
spawnX
field_76099_c
spawnX
private int
j
field_236
spawnY
field_76096_d
spawnY
private int
k
field_237
spawnZ
field_76097_e
spawnZ
private long
l
field_4986
time
field_82575_g
gameTime
private long
m
field_238
timeOfDay
field_76094_f
dayTime
private long
n
field_239
lastPlayed
field_76095_g
lastTimePlayed
private long
o
field_240
sizeOnDisk
field_76107_h
sizeOnDisk
private final DataFixer
p
field_19767
dataFixer
field_209226_o
fixer
private final int
q
field_19768
playerDataVersion
field_209227_p
dataVersion
private boolean
r
field_19769
upgradedPlayerData
field_209228_q
playerDataFixed
private NbtCompound
s
field_241
playerData
field_76108_i
playerTag
private int
t
field_242
dimension
field_76105_j
dimension
private String
u
field_243
name
field_76106_k
levelName
private int
v
field_244
version
field_76103_l
saveVersion
private int
w
field_10266
clearWeatherTime
field_176157_p
clearWeatherTime
private boolean
x
field_245
raining
field_76104_m
raining
private int
y
field_246
rainTime
field_76101_n
rainTime
private boolean
z
field_247
thundering
field_76102_o
thundering
private int
A
field_248
thunderTime
field_76114_p
thunderTime
private GameMode
B
field_249
defaultGameMode
field_76113_q
gameType
private boolean
C
field_250
allowStructures
field_76112_r
mapFeaturesEnabled
private boolean
D
field_251
hardcore
field_76111_s
hardcore
private boolean
E
field_252
allowCommands
field_76110_t
allowCommands
private boolean
F
field_253
initialized
field_76109_u
initialized
private Difficulty
G
field_10267
difficulty
field_176158_z
difficulty
private boolean
H
field_10255
difficultyLocked
field_176150_A
difficultyLocked
private double
I
field_10256
borderCenterX
field_176151_B
borderCenterX
private double
J
field_10257
borderCenterZ
field_176152_C
borderCenterZ
private double
K
field_10258
borderSize
field_176146_D
borderSize
private long
L
field_10259
borderSizeLerpTime
field_176147_E
borderSizeLerpTime
private double
M
field_10260
borderSizeLerpTarget
field_176148_F
borderSizeLerpTarget
private double
N
field_10261
borderSafeZone
field_176149_G
borderSafeZone
private double
O
field_10262
borderDamagePerBlock
field_176153_H
borderDamagePerBlock
private int
P
field_10263
borderWarningBlocks
field_176154_I
borderWarningBlocks
private int
Q
field_10264
borderWarningTime
field_176155_J
borderWarningTime
private final Set<String>
R
field_19762
disabledDataPacks
field_197721_N
disabledDataPacks
private final Set<String>
S
field_19763
enabledDataPacks
field_197722_O
enabledDataPacks
private final Map<DimensionType, NbtCompound>
T
field_13099
dimensionData
field_186348_N
dimensionData
private NbtCompound
U
field_19764
customBossEvents
field_201358_Q
customBossEvents
private final GameRules
V
field_4987
gameRules
field_82577_x
gameRules

Constructor summary

ModifierConstructor
protected ()
public (NbtCompound nbt, DataFixer dataFixer, int playerDataVersion, NbtCompound playerData)
public (WorldSettings settings, String name)

Method summary

Modifier and TypeMethod
public void
a(ayd arg0)
method_9323(class_1156 arg0)
setSettings(WorldSettings settings)
func_176127_a(WorldSettings arg0)
populateFromWorldSettings(WorldSettings settings)
public NbtCompound
a(gy arg0)
method_204(class_322 arg0)
toNbt(NbtCompound playerData)
func_76082_a(NBTTagCompound arg0)
cloneNBTCompound(NBTTagCompound nbt)
private void
a(gy arg0, gy arg1)
method_205(class_322 arg0, class_322 arg1)
writeNbt(NbtCompound nbt, NbtCompound playerData)
func_76064_a(NBTTagCompound arg0, NBTTagCompound arg1)
updateTagCompound(NBTTagCompound nbt, NBTTagCompound playerNbt)
public long
a()
method_210()
getSeed()
func_76063_b()
getSeed()
public int
b()
method_214()
getSpawnX()
func_76079_c()
getSpawnX()
public int
c()
method_216()
getSpawnY()
func_76075_d()
getSpawnY()
public int
d()
method_218()
getSpawnZ()
func_76074_e()
getSpawnZ()
public long
e()
method_4136()
getTime()
func_82573_f()
getGameTime()
public long
f()
method_220()
getTimeOfDay()
func_76073_f()
getDayTime()
private void
Q()
method_17954()
upgradePlayerData()
func_209225_Q()
fixPlayerData()
public NbtCompound
h()
method_224()
getPlayerData()
func_76072_h()
getPlayerNBTTagCompound()
public void
a(long arg0)
method_4131(long arg0)
setTime(long time)
func_82572_b(long arg0)
setGameTime(long time)
public void
b(long arg0)
method_212(long arg0)
setTimeOfDay(long time)
func_76068_b(long arg0)
setDayTime(long time)
public void
a(el arg0)
method_9324(class_2552 arg0)
setSpawnPoint(BlockPos pos)
func_176143_a(BlockPos arg0)
setSpawn(BlockPos spawnPoint)
public String
j()
method_226()
getName()
func_76065_j()
getWorldName()
public void
a(String arg0)
method_206(String arg0)
setName(String name)
func_76062_a(String arg0)
setWorldName(String worldName)
public int
k()
method_227()
getVersion()
func_76088_k()
getSaveVersion()
public void
d(int arg0)
method_219(int arg0)
setVersion(int version)
func_76078_e(int arg0)
setSaveVersion(int version)
public int
z()
method_9312()
getClearWeatherTime()
func_176133_A()
getClearWeatherTime()
public void
g(int arg0)
method_9336(int arg0)
setClearWeatherTime(int time)
func_176142_i(int arg0)
setClearWeatherTime(int cleanWeatherTimeIn)
public boolean
m()
method_229()
isThundering()
func_76061_m()
isThundering()
public void
a(boolean arg0)
method_209(boolean arg0)
setThundering(boolean thundering)
func_76069_a(boolean arg0)
setThundering(boolean thunderingIn)
public int
n()
method_230()
getThunderTime()
func_76071_n()
getThunderTime()
public void
e(int arg0)
method_221(int arg0)
setThunderTime(int thunderTime)
func_76090_f(int arg0)
setThunderTime(int time)
public boolean
o()
method_231()
isRaining()
func_76059_o()
isRaining()
public void
b(boolean arg0)
method_213(boolean arg0)
setRaining(boolean raining)
func_76084_b(boolean arg0)
setRaining(boolean isRaining)
public int
p()
method_232()
getRainTime()
func_76083_p()
getRainTime()
public void
f(int arg0)
method_223(int arg0)
setRainTime(int rainTime)
func_76080_g(int arg0)
setRainTime(int time)
public GameMode
q()
method_233()
getDefaultGameMode()
func_76077_q()
getGameType()
public boolean
r()
method_234()
allowStructures()
func_76089_r()
isMapFeaturesEnabled()
public void
f(boolean arg0)
method_9334(boolean arg0)
setAllowStructures(boolean allowStructures)
func_176128_f(boolean arg0)
setMapFeaturesEnabled(boolean enabled)
public void
a(axv arg0)
method_207(class_1157 arg0)
setDefaultGameMode(GameMode gameMode)
func_76060_a(GameType arg0)
setGameType(GameType type)
public boolean
s()
method_235()
isHardcore()
func_76093_s()
isHardcore()
public void
g(boolean arg0)
method_9335(boolean arg0)
setHardcore(boolean hardcore)
func_176119_g(boolean arg0)
setHardcore(boolean hardcoreIn)
public WorldGeneratorType
t()
method_236()
getGeneratorType()
func_76067_t()
getGenerator()
public void
a(ayg arg0)
method_208(class_1160 arg0)
setGeneratorType(WorldGeneratorType type)
func_76085_a(WorldType arg0)
setGenerator(WorldType type)
public NbtCompound
A()
method_17950()
getGeneratorOptions()
func_211027_A()
getGeneratorOptions()
public void
b(gy arg0)
method_17964(class_322 arg0)
setGeneratorOptions(NbtCompound generatorOptions)
func_212242_b(NBTTagCompound arg0)
setGeneratorOptions(NBTTagCompound arg0)
public boolean
u()
method_237()
allowCommands()
func_76086_u()
areCommandsAllowed()
public void
c(boolean arg0)
method_9328(boolean arg0)
setAllowCommands(boolean allowCommands)
func_176121_c(boolean arg0)
setAllowCommands(boolean allow)
public boolean
v()
method_238()
isInitialized()
func_76070_v()
isInitialized()
public void
d(boolean arg0)
method_217(boolean arg0)
setInitialized(boolean initialized)
func_76091_d(boolean arg0)
setInitialized(boolean initializedIn)
public GameRules
w()
method_4149()
getGameRules()
func_82574_x()
getGameRulesInstance()
public double
B()
method_9313()
getBorderCenterX()
func_176120_C()
getBorderCenterX()
public double
C()
method_9314()
getBorderCenterZ()
func_176126_D()
getBorderCenterZ()
public double
D()
method_9315()
getBorderSize()
func_176137_E()
getBorderSize()
public void
a(double arg0)
method_9322(double arg0)
setBorderSize(double size)
func_176145_a(double arg0)
setBorderSize(double size)
public long
E()
method_9316()
getBorderSizeLerpTime()
func_176134_F()
getBorderSizeLerpTime()
public void
c(long arg0)
method_9331(long arg0)
setBorderSizeLerpTime(long time)
func_176135_e(long arg0)
setBorderSizeLerpTime(long time)
public double
F()
method_9317()
getBorderSizeLerpTarget()
func_176132_G()
getBorderSizeLerpTarget()
public void
b(double arg0)
method_9326(double arg0)
setBorderSizeLerpTarget(double target)
func_176118_b(double arg0)
setBorderSizeLerpTarget(double lerpSize)
public void
c(double arg0)
method_9327(double arg0)
setBorderCenterZ(double z)
func_176141_c(double arg0)
setBorderCenterZ(double posZ)
public void
d(double arg0)
method_9329(double arg0)
setBorderCenterX(double x)
func_176124_d(double arg0)
setBorderCenterX(double posX)
public double
G()
method_9318()
getBorderSafeZone()
func_176138_H()
getBorderSafeZone()
public void
e(double arg0)
method_9330(double arg0)
setBorderSafeZone(double zone)
func_176129_e(double arg0)
setBorderSafeZone(double amount)
public double
H()
method_9319()
getBorderDamagePerBlock()
func_176140_I()
getBorderDamagePerBlock()
public void
f(double arg0)
method_9333(double arg0)
setBorderDamagePerBlock(double damage)
func_176125_f(double arg0)
setBorderDamagePerBlock(double damage)
public int
I()
method_9320()
getBorderWarningBlocks()
func_176131_J()
getBorderWarningBlocks()
public int
J()
method_9321()
getBorderWarningTime()
func_176139_K()
getBorderWarningTime()
public void
h(int arg0)
method_9337(int arg0)
setBorderWarningBlocks(int blocks)
func_176122_j(int arg0)
setBorderWarningBlocks(int amountOfBlocks)
public void
i(int arg0)
method_9338(int arg0)
setBorderWarningTime(int time)
func_176136_k(int arg0)
setBorderWarningTime(int ticks)
public Difficulty
x()
method_9339()
getDifficulty()
func_176130_y()
getDifficulty()
public void
a(adi arg0)
method_9325(class_2151 arg0)
setDifficulty(Difficulty difficulty)
func_176144_a(EnumDifficulty arg0)
setDifficulty(EnumDifficulty newDifficulty)
public boolean
y()
method_9340()
isDifficultyLocked()
func_176123_z()
isDifficultyLocked()
public void
e(boolean arg0)
method_9332(boolean arg0)
setDifficultyLocked(boolean locked)
func_180783_e(boolean arg0)
setDifficultyLocked(boolean locked)
public void
a(c arg0)
method_4130(class_1392 arg0)
populateCrashReport(CrashReportCategory category)
func_85118_a(CrashReportCategory arg0)
addToCrashReport(CrashReportCategory category)
public NbtCompound
a(bod arg0)
method_11954(class_3793 arg0)
getDimensionData(DimensionType dimension)
func_186347_a(DimensionType arg0)
getDimensionData(DimensionType dimensionIn)
public void
a(bod arg0, gy arg1)
method_11955(class_3793 arg0, class_322 arg1)
setDimensionData(DimensionType dimension, NbtCompound nbt)
func_186345_a(DimensionType arg0, NBTTagCompound arg1)
setDimensionData(DimensionType dimensionIn, NBTTagCompound compound)
public Set<String>
N()
method_17951()
getDisabledDataPacks()
func_197719_N()
getDisabledDataPacks()
public Set<String>
O()
method_17952()
getEnabledDataPacks()
func_197720_O()
getEnabledDataPacks()
public NbtCompound
P()
method_17953()
getCustomBossEvents()
func_201357_P()
getCustomBossEvents()
public void
c(gy arg0)
method_17965(class_322 arg0)
setCustomBossEvents(NbtCompound customBossEvents)
func_201356_c(NBTTagCompound arg0)
setCustomBossEvents(NBTTagCompound arg0)
public long
g()
method_222()
getSizeOnDisk()
func_76092_g()
getSizeOnDisk()
public int
i()
method_17966()
getDimension()
func_202836_i()
getDimension()
public void
a(int arg0)
method_202(int arg0)
setSpawnX(int x)
func_76058_a(int arg0)
setSpawnX(int x)
public void
b(int arg0)
method_211(int arg0)
setSpawnY(int y)
func_76056_b(int arg0)
setSpawnY(int y)
public void
c(int arg0)
method_215(int arg0)
setSpawnZ(int z)
func_76087_c(int arg0)
setSpawnZ(int z)
public long
l()
method_228()
getLastPlayed()
func_76057_l()
getLastTimePlayed()
public int
K()
method_11951()
getVersionId()
func_186344_K()
getVersionId()
public boolean
L()
method_11952()
isVersionSnapshot()
func_186343_L()
isVersionSnapshot()
public String
M()
method_11953()
getVersionName()
func_186346_M()
getVersionName()