net.minecraft.world.level

public final class LevelInfo

bhq
net.minecraft.class_1940
net.minecraft.world.level.LevelInfo
net.minecraft.world.WorldSettings
net.minecraft.world.WorldSettings
net.minecraft.world.WorldSettings

Field summary

Modifier and TypeField
private final long
a
field_9263
seed
seed
field_77174_a
seed
private final GameMode
b
field_9257
gameMode
gameMode
field_77172_b
gameType
private final boolean
c
field_9262
structures
generateStructures
field_77173_c
mapFeaturesEnabled
private final boolean
d
field_9261
hardcore
hardcore
field_77170_d
hardcoreEnabled
private final LevelGeneratorType
e
field_9260
generatorType
generatorType
field_77171_e
terrainType
private boolean
f
field_9259
commands
allowCommands
field_77168_f
commandsAllowed
private boolean
g
field_9258
bonusChest
generateBonusChest
field_77169_g
bonusChestEnabled
private com.google.gson.JsonElement
h
field_9264
generatorOptions
generatorOptions
field_82751_h
generatorOptions

Constructor summary

ModifierConstructor
public (long seed, GameMode gameMode, boolean allowStructures, boolean hardcore, LevelGeneratorType generatorType)
public (LevelProperties data)

Method summary

Modifier and TypeMethod
public LevelInfo
a()
method_8575()
setBonusChest()
enableBonusChest()
func_77159_a()
enableBonusChest()
public LevelInfo
a(com.google.gson.JsonElement arg0)
method_8579(com.google.gson.JsonElement arg0)
setGeneratorOptions(com.google.gson.JsonElement arg0)
setGeneratorOptions(com.google.gson.JsonElement json)
func_205390_a(com.google.gson.JsonElement arg0)
setGeneratorOptions(com.google.gson.JsonElement arg0)
public boolean
c()
method_8581()
hasBonusChest()
generateBonusChest()
func_77167_c()
isBonusChestEnabled()
public long
d()
method_8577()
getSeed()
getSeed()
func_77160_d()
getSeed()
public GameMode
e()
method_8574()
getGameMode()
getGameMode()
func_77162_e()
getGameType()
public boolean
f()
method_8582()
isHardcore()
isHardcore()
func_77158_f()
getHardcoreEnabled()
public boolean
g()
method_8583()
hasStructures()
allowStructures()
func_77164_g()
isMapFeaturesEnabled()
public LevelGeneratorType
h()
method_8576()
getGeneratorType()
getGeneratorType()
func_77165_h()
getTerrainType()
public boolean
i()
method_8573()
allowCommands()
allowCommands()
func_77163_i()
areCommandsAllowed()
public com.google.gson.JsonElement
j()
method_8584()
getGeneratorOptions()
getGeneratorOptions()
func_205391_j()
getGeneratorOptions()
public LevelInfo
b()
method_8578()
enableCommands()
enableCommands()
func_77166_b()
enableCommands()