net.minecraft.world

public class WorldData

coa
net.minecraft.class_31
net.minecraft.world.WorldData
net.minecraft.world.storage.WorldInfo
net.minecraft.world.storage.WorldInfo

Field summary

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

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(bhl arg0)
method_140(class_1940 arg0)
setSettings(WorldSettings settings)
func_176127_a(WorldSettings arg0)
populateFromWorldSettings(WorldSettings settings)
public NbtCompound
a(ib arg0)
method_163(class_2487 arg0)
toNbt(NbtCompound playerData)
func_76082_a(CompoundNBT arg0)
cloneNBTCompound(CompoundNBT nbt)
private void
a(ib arg0, ib arg1)
method_158(class_2487 arg0, class_2487 arg1)
writeNbt(NbtCompound nbt, NbtCompound playerData)
func_76064_a(CompoundNBT arg0, CompoundNBT arg1)
updateTagCompound(CompoundNBT nbt, CompoundNBT playerNbt)
public long
a()
method_184()
getSeed()
func_76063_b()
getSeed()
public int
b()
method_215()
getSpawnX()
func_76079_c()
getSpawnX()
public int
c()
method_144()
getSpawnY()
func_76075_d()
getSpawnY()
public int
d()
method_166()
getSpawnZ()
func_76074_e()
getSpawnZ()
public long
e()
method_188()
getTime()
func_82573_f()
getGameTime()
public long
f()
method_217()
getTimeOfDay()
func_76073_f()
getDayTime()
private void
U()
method_185()
upgradePlayerData()
func_209225_Q()
fixPlayerData()
public NbtCompound
h()
method_226()
getPlayerData()
func_76072_h()
getPlayerNBTTagCompound()
public void
a(long arg0)
method_177(long arg0)
setTime(long time)
func_82572_b(long arg0)
setGameTime(long time)
public void
b(long arg0)
method_165(long arg0)
setTimeOfDay(long time)
func_76068_b(long arg0)
setDayTime(long time)
public void
a(ev arg0)
method_187(class_2338 arg0)
setSpawnPoint(BlockPos pos)
func_176143_a(BlockPos arg0)
setSpawn(BlockPos spawnPoint)
public String
j()
method_150()
getName()
func_76065_j()
getWorldName()
public void
a(String arg0)
method_182(String arg0)
setName(String name)
func_76062_a(String arg0)
setWorldName(String worldName)
public int
k()
method_168()
getVersion()
func_76088_k()
getSaveVersion()
public void
d(int arg0)
method_142(int arg0)
setVersion(int version)
func_76078_e(int arg0)
setSaveVersion(int version)
public int
A()
method_155()
getClearWeatherTime()
func_176133_A()
getClearWeatherTime()
public void
g(int arg0)
method_167(int arg0)
setClearWeatherTime(int time)
func_176142_i(int arg0)
setClearWeatherTime(int cleanWeatherTimeIn)
public boolean
m()
method_203()
isThundering()
func_76061_m()
isThundering()
public void
a(boolean arg0)
method_147(boolean arg0)
setThundering(boolean thundering)
func_76069_a(boolean arg0)
setThundering(boolean thunderingIn)
public int
n()
method_145()
getThunderTime()
func_76071_n()
getThunderTime()
public void
e(int arg0)
method_173(int arg0)
setThunderTime(int thunderTime)
func_76090_f(int arg0)
setThunderTime(int time)
public boolean
o()
method_156()
isRaining()
func_76059_o()
isRaining()
public void
b(boolean arg0)
method_157(boolean arg0)
setRaining(boolean raining)
func_76084_b(boolean arg0)
setRaining(boolean isRaining)
public int
p()
method_190()
getRainTime()
func_76083_p()
getRainTime()
public void
f(int arg0)
method_164(int arg0)
setRainTime(int rainTime)
func_76080_g(int arg0)
setRainTime(int time)
public GameMode
q()
method_210()
getDefaultGameMode()
func_76077_q()
getGameType()
public boolean
r()
method_220()
allowStructures()
func_76089_r()
isMapFeaturesEnabled()
public void
f(boolean arg0)
method_196(boolean arg0)
setAllowStructures(boolean allowStructures)
func_176128_f(boolean arg0)
setMapFeaturesEnabled(boolean enabled)
public void
a(bhe arg0)
method_193(class_1934 arg0)
setDefaultGameMode(GameMode gameMode)
func_76060_a(GameType arg0)
setGameType(GameType type)
public boolean
s()
method_152()
isHardcore()
func_76093_s()
isHardcore()
public void
g(boolean arg0)
method_198(boolean arg0)
setHardcore(boolean hardcore)
func_176119_g(boolean arg0)
setHardcore(boolean hardcoreIn)
public WorldGeneratorType
t()
method_153()
getGeneratorType()
func_76067_t()
getGenerator()
public void
a(bho arg0)
method_225(class_1942 arg0)
setGeneratorType(WorldGeneratorType type)
func_76085_a(WorldType arg0)
setGenerator(WorldType type)
public NbtCompound
B()
method_169()
getGeneratorOptions()
func_211027_A()
getGeneratorOptions()
public void
b(ib arg0)
method_175(class_2487 arg0)
setGeneratorOptions(NbtCompound generatorOptions)
func_212242_b(CompoundNBT arg0)
setGeneratorOptions(CompoundNBT arg0)
public boolean
u()
method_194()
allowCommands()
func_76086_u()
areCommandsAllowed()
public void
c(boolean arg0)
method_211(boolean arg0)
setAllowCommands(boolean allowCommands)
func_176121_c(boolean arg0)
setAllowCommands(boolean allow)
public boolean
v()
method_222()
isInitialized()
func_76070_v()
isInitialized()
public void
d(boolean arg0)
method_223(boolean arg0)
setInitialized(boolean initialized)
func_76091_d(boolean arg0)
setInitialized(boolean initializedIn)
public GameRules
w()
method_146()
getGameRules()
func_82574_x()
getGameRulesInstance()
public double
C()
method_204()
getBorderCenterX()
func_176120_C()
getBorderCenterX()
public double
D()
method_139()
getBorderCenterZ()
func_176126_D()
getBorderCenterZ()
public double
E()
method_206()
getBorderSize()
func_176137_E()
getBorderSize()
public void
a(double arg0)
method_162(double arg0)
setBorderSize(double size)
func_176145_a(double arg0)
setBorderSize(double size)
public long
F()
method_183()
getBorderSizeLerpTime()
func_176134_F()
getBorderSizeLerpTime()
public void
c(long arg0)
method_195(long arg0)
setBorderSizeLerpTime(long time)
func_176135_e(long arg0)
setBorderSizeLerpTime(long time)
public double
G()
method_159()
getBorderSizeLerpTarget()
func_176132_G()
getBorderSizeLerpTarget()
public void
b(double arg0)
method_174(double arg0)
setBorderSizeLerpTarget(double target)
func_176118_b(double arg0)
setBorderSizeLerpTarget(double lerpSize)
public void
c(double arg0)
method_189(double arg0)
setBorderCenterZ(double z)
func_176141_c(double arg0)
setBorderCenterZ(double posZ)
public void
d(double arg0)
method_200(double arg0)
setBorderCenterX(double x)
func_176124_d(double arg0)
setBorderCenterX(double posX)
public double
H()
method_178()
getBorderSafeZone()
func_176138_H()
getBorderSafeZone()
public void
e(double arg0)
method_216(double arg0)
setBorderSafeZone(double zone)
func_176129_e(double arg0)
setBorderSafeZone(double amount)
public double
I()
method_202()
getBorderDamagePerBlock()
func_176140_I()
getBorderDamagePerBlock()
public void
f(double arg0)
method_229(double arg0)
setBorderDamagePerBlock(double damage)
func_176125_f(double arg0)
setBorderDamagePerBlock(double damage)
public int
J()
method_227()
getBorderWarningBlocks()
func_176131_J()
getBorderWarningBlocks()
public int
K()
method_161()
getBorderWarningTime()
func_176139_K()
getBorderWarningTime()
public void
h(int arg0)
method_201(int arg0)
setBorderWarningBlocks(int blocks)
func_176122_j(int arg0)
setBorderWarningBlocks(int amountOfBlocks)
public void
i(int arg0)
method_192(int arg0)
setBorderWarningTime(int time)
func_176136_k(int arg0)
setBorderWarningTime(int ticks)
public Difficulty
x()
method_207()
getDifficulty()
func_176130_y()
getDifficulty()
public void
a(agx arg0)
method_208(class_1267 arg0)
setDifficulty(Difficulty difficulty)
func_176144_a(Difficulty arg0)
setDifficulty(Difficulty newDifficulty)
public boolean
y()
method_197()
isDifficultyLocked()
func_176123_z()
isDifficultyLocked()
public void
e(boolean arg0)
method_186(boolean arg0)
setDifficultyLocked(boolean locked)
func_180783_e(boolean arg0)
setDifficultyLocked(boolean locked)
public C_14861339<MinecraftServer>
z()
method_143()
getScheduledEvents()
func_215763_z()
func_215763_z()
public void
a(e arg0)
method_151(class_129 arg0)
populateCrashReport(CrashReportCategory category)
func_85118_a(CrashReportCategory arg0)
addToCrashReport(CrashReportCategory category)
public NbtCompound
a(byd arg0)
method_170(class_2874 arg0)
getDimensionData(DimensionType dimension)
func_186347_a(DimensionType arg0)
getDimensionData(DimensionType dimensionIn)
public void
a(byd arg0, ib arg1)
method_160(class_2874 arg0, class_2487 arg1)
setDimensionData(DimensionType dimension, NbtCompound nbt)
func_186345_a(DimensionType arg0, CompoundNBT arg1)
setDimensionData(DimensionType dimensionIn, CompoundNBT compound)
public Set<String>
O()
method_209()
getDisabledDataPacks()
func_197719_N()
getDisabledDataPacks()
public Set<String>
P()
method_179()
getEnabledDataPacks()
func_197720_O()
getEnabledDataPacks()
public NbtCompound
Q()
method_228()
getCustomBossEvents()
func_201357_P()
getCustomBossEvents()
public void
c(ib arg0)
method_221(class_2487 arg0)
setCustomBossEvents(NbtCompound customBossEvents)
func_201356_c(CompoundNBT arg0)
setCustomBossEvents(CompoundNBT arg0)
public int
R()
method_18038()
getWanderingTraderSpawnDelay()
func_215765_R()
func_215765_R()
public void
j(int arg0)
method_18041(int arg0)
setWanderingTraderSpawnDelay(int delay)
func_215764_j(int arg0)
func_215764_j(int arg0)
public int
S()
method_18039()
getWanderingTraderSpawnChance()
func_215760_S()
func_215760_S()
public void
k(int arg0)
method_18042(int arg0)
setWanderingTraderSpawnChance(int chance)
func_215762_k(int arg0)
func_215762_k(int arg0)
public void
a(UUID arg0)
method_18040(UUID arg0)
setWanderingTraderUuid(UUID uuid)
func_215761_a(UUID arg0)
func_215761_a(UUID arg0)
public int
i()
method_218()
getDimension()
func_202836_i()
getDimension()
public void
a(int arg0)
method_212(int arg0)
setSpawnX(int x)
func_76058_a(int arg0)
setSpawnX(int x)
public void
b(int arg0)
method_213(int arg0)
setSpawnY(int y)
func_76056_b(int arg0)
setSpawnY(int y)
public void
c(int arg0)
method_154(int arg0)
setSpawnZ(int z)
func_76087_c(int arg0)
setSpawnZ(int z)
public long
l()
method_191()
getLastPlayed()
func_76057_l()
getLastTimePlayed()
public int
L()
method_180()
getVersionId()
func_186344_K()
getVersionId()
public boolean
M()
method_171()
isVersionSnapshot()
func_186343_L()
isVersionSnapshot()
public String
N()
method_219()
getVersionName()
func_186346_M()
getVersionName()