net.minecraft.world

public class WorldData

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

Field summary

Modifier and TypeField
private String
b
field_13100
versionName
versionName
private int
c
field_13101
versionId
versionId
private boolean
d
field_13102
versionSnapshot
versionSnapshot
public static final Difficulty
a
field_10265
DEFAULT_DIFFICULTY
DEFAULT_DIFFICULTY
private long
e
field_233
seed
randomSeed
private WorldGeneratorType
f
field_234
generatorType
terrainType
private String
g
field_4985
generatorOptions
generatorOptions
private int
h
field_235
spawnX
spawnX
private int
i
field_236
spawnY
spawnY
private int
j
field_237
spawnZ
spawnZ
private long
k
field_4986
time
totalTime
private long
l
field_238
timeOfDay
worldTime
private long
m
field_239
lastPlayed
lastTimePlayed
private long
n
field_240
sizeOnDisk
sizeOnDisk
private NbtCompound
o
field_241
playerData
playerTag
private int
p
field_242
dimension
dimension
private String
q
field_243
name
levelName
private int
r
field_244
version
saveVersion
private int
s
field_10266
clearWeatherTime
cleanWeatherTime
private boolean
t
field_245
raining
raining
private int
u
field_246
rainTime
rainTime
private boolean
v
field_247
thundering
thundering
private int
w
field_248
thunderTime
thunderTime
private WorldSettings$GameMode
x
field_249
defaultGameMode
theGameType
private boolean
y
field_250
allowStructures
mapFeaturesEnabled
private boolean
z
field_251
hardcore
hardcore
private boolean
A
field_252
allowCommands
allowCommands
private boolean
B
field_253
initialized
initialized
private Difficulty
C
field_10267
difficulty
difficulty
private boolean
D
field_10255
difficultyLocked
difficultyLocked
private double
E
field_10256
borderCenterX
borderCenterX
private double
F
field_10257
borderCenterZ
borderCenterZ
private double
G
field_10258
borderSize
borderSize
private long
H
field_10259
borderSizeLerpTime
borderSizeLerpTime
private double
I
field_10260
borderSizeLerpTarget
borderSizeLerpTarget
private double
J
field_10261
borderSafeZone
borderSafeZone
private double
K
field_10262
borderDamagePerBlock
borderDamagePerBlock
private int
L
field_10263
borderWarningBlocks
borderWarningDistance
private int
M
field_10264
borderWarningTime
borderWarningTime
private final Map<DimensionType, NbtCompound>
N
field_13099
dimensionData
dimensionData
private GameRules
O
field_4987
gameRules
theGameRules

Constructor summary

ModifierConstructor
protected ()
public (NbtCompound nbt)
public (WorldSettings settings, String name)
public (WorldData data)

Method summary

Modifier and TypeMethod
public void
a(ahw arg0)
method_9323(class_1156 arg0)
setSettings(WorldSettings settings)
populateFromWorldSettings(WorldSettings settings)
public NbtCompound
a(dq arg0)
method_204(class_322 arg0)
toNbt(NbtCompound playerData)
cloneNBTCompound(NBTTagCompound nbt)
private void
a(dq arg0, dq arg1)
method_205(class_322 arg0, class_322 arg1)
writeNbt(NbtCompound nbt, NbtCompound playerData)
updateTagCompound(NBTTagCompound nbt, NBTTagCompound playerNbt)
public long
a()
method_210()
getSeed()
getSeed()
public int
b()
method_214()
getSpawnX()
getSpawnX()
public int
c()
method_216()
getSpawnY()
getSpawnY()
public int
d()
method_218()
getSpawnZ()
getSpawnZ()
public long
e()
method_4136()
getTime()
getWorldTotalTime()
public long
f()
method_220()
getTimeOfDay()
getWorldTime()
public NbtCompound
h()
method_224()
getPlayerData()
getPlayerNBTTagCompound()
public void
b(long arg0)
method_4131(long arg0)
setTime(long time)
setWorldTotalTime(long time)
public void
c(long arg0)
method_212(long arg0)
setTimeOfDay(long time)
setWorldTime(long time)
public void
a(cl arg0)
method_9324(class_2552 arg0)
setSpawnPoint(BlockPos pos)
setSpawn(BlockPos spawnPoint)
public String
j()
method_226()
getName()
getWorldName()
public void
a(String arg0)
method_206(String arg0)
setName(String name)
setWorldName(String worldName)
public int
k()
method_227()
getVersion()
getSaveVersion()
public void
e(int arg0)
method_219(int arg0)
setVersion(int version)
setSaveVersion(int version)
public int
z()
method_9312()
getClearWeatherTime()
getCleanWeatherTime()
public void
i(int arg0)
method_9336(int arg0)
setClearWeatherTime(int time)
setCleanWeatherTime(int cleanWeatherTimeIn)
public boolean
m()
method_229()
isThundering()
isThundering()
public void
a(boolean arg0)
method_209(boolean arg0)
setThundering(boolean thundering)
setThundering(boolean thunderingIn)
public int
n()
method_230()
getThunderTime()
getThunderTime()
public void
f(int arg0)
method_221(int arg0)
setThunderTime(int thunderTime)
setThunderTime(int time)
public boolean
o()
method_231()
isRaining()
isRaining()
public void
b(boolean arg0)
method_213(boolean arg0)
setRaining(boolean raining)
setRaining(boolean isRaining)
public int
p()
method_232()
getRainTime()
getRainTime()
public void
g(int arg0)
method_223(int arg0)
setRainTime(int rainTime)
setRainTime(int time)
public WorldSettings$GameMode
q()
method_233()
getDefaultGamemode()
getGameType()
public boolean
r()
method_234()
allowStructures()
isMapFeaturesEnabled()
public void
f(boolean arg0)
method_9334(boolean arg0)
setAllowStructures(boolean allowStructures)
setMapFeaturesEnabled(boolean enabled)
public void
a(ahw$a arg0)
method_207(class_1156$class_1157 arg0)
setDefaultGameMode(WorldSettings$GameMode gameMode)
setGameType(WorldSettings$GameType type)
public boolean
s()
method_235()
isHardcore()
isHardcoreModeEnabled()
public void
g(boolean arg0)
method_9335(boolean arg0)
setHardcore(boolean hardcore)
setHardcore(boolean hardcoreIn)
public WorldGeneratorType
t()
method_236()
getGeneratorType()
getTerrainType()
public void
a(ahy arg0)
method_208(class_1160 arg0)
setGeneratorType(WorldGeneratorType type)
setTerrainType(WorldType type)
public String
A()
method_4150()
getGeneratorOptions()
getGeneratorOptions()
public boolean
u()
method_237()
allowCommands()
areCommandsAllowed()
public void
c(boolean arg0)
method_9328(boolean arg0)
setAllowCommands(boolean allowCommands)
setAllowCommands(boolean allow)
public boolean
v()
method_238()
isInitialized()
isInitialized()
public void
d(boolean arg0)
method_217(boolean arg0)
setInitialized(boolean initialized)
setServerInitialized(boolean initializedIn)
public GameRules
w()
method_4149()
getGameRules()
getGameRulesInstance()
public double
B()
method_9313()
getBorderCenterX()
getBorderCenterX()
public double
C()
method_9314()
getBorderCenterZ()
getBorderCenterZ()
public double
D()
method_9315()
getBorderSize()
getBorderSize()
public void
a(double arg0)
method_9322(double arg0)
setBorderSize(double size)
setBorderSize(double size)
public long
E()
method_9316()
getBorderSizeLerpTime()
getBorderLerpTime()
public void
e(long arg0)
method_9331(long arg0)
setBorderSizeLerpTime(long time)
setBorderLerpTime(long time)
public double
F()
method_9317()
getBorderSizeLerpTarget()
getBorderLerpTarget()
public void
b(double arg0)
method_9326(double arg0)
setBorderSizeLerpTarget(double target)
setBorderLerpTarget(double lerpSize)
public void
c(double arg0)
method_9327(double arg0)
setBorderCenterZ(double z)
getBorderCenterZ(double posZ)
public void
d(double arg0)
method_9329(double arg0)
setBorderCenterX(double x)
getBorderCenterX(double posX)
public double
G()
method_9318()
getBorderSafeZone()
getBorderSafeZone()
public void
e(double arg0)
method_9330(double arg0)
setBorderSafeZone(double zone)
setBorderSafeZone(double amount)
public double
H()
method_9319()
getBorderDamagePerBlock()
getBorderDamagePerBlock()
public void
f(double arg0)
method_9333(double arg0)
setBorderDamagePerBlock(double damage)
setBorderDamagePerBlock(double damage)
public int
I()
method_9320()
getBorderWarningBlocks()
getBorderWarningDistance()
public int
J()
method_9321()
getBorderWarningTime()
getBorderWarningTime()
public void
j(int arg0)
method_9337(int arg0)
setBorderWarningBlocks(int blocks)
setBorderWarningDistance(int amountOfBlocks)
public void
k(int arg0)
method_9338(int arg0)
setBorderWarningTime(int time)
setBorderWarningTime(int ticks)
public Difficulty
x()
method_9339()
getDifficulty()
getDifficulty()
public void
a(qk arg0)
method_9325(class_2151 arg0)
setDifficulty(Difficulty difficulty)
setDifficulty(EnumDifficulty newDifficulty)
public boolean
y()
method_9340()
isDifficultyLocked()
isDifficultyLocked()
public void
e(boolean arg0)
method_9332(boolean arg0)
setDifficultyLocked(boolean locked)
setDifficultyLocked(boolean locked)
public void
a(c arg0)
method_4130(class_1392 arg0)
populateCrashReport(CrashReportCategory category)
addToCrashReport(CrashReportCategory category)
public NbtCompound
a(asw arg0)
method_11954(class_2750 arg0)
getDimensionData(DimensionType dimension)
getDimensionData(DimensionType dimensionIn)
public void
a(asw arg0, dq arg1)
method_11955(class_2750 arg0, class_322 arg1)
setDimensionData(DimensionType dimension, NbtCompound nbt)
setDimensionData(DimensionType dimensionIn, NBTTagCompound compound)
public long
g()
method_222()
getSizeOnDisk()
getSizeOnDisk()
public void
a(int arg0)
method_202(int arg0)
setSpawnX(int x)
setSpawnX(int x)
public void
b(int arg0)
method_211(int arg0)
setSpawnY(int y)
setSpawnY(int y)
public void
c(int arg0)
method_215(int arg0)
setSpawnZ(int z)
setSpawnZ(int z)
public long
l()
method_228()
getLastPlayed()
getLastTimePlayed()
public int
K()
method_11951()
getVersionId()
getVersionId()
public boolean
L()
method_11952()
isVersionSnapshot()
isVersionSnapshot()
public String
M()
method_11953()
getVersionName()
getVersionName()