net.minecraft.world.level

public final class LevelSettings

bqe
net.minecraft.world.level.LevelSettings
net.minecraft.class_1940
net.minecraft.world.level.LevelInfo
net.minecraft.world.WorldSettings
net.minecraft.server.v1_16_R1.WorldSettings

Field summary

Modifier and TypeField
private final String
a
levelName
field_24105
name
field_234943_a_
levelName
private final GameType
b
gameType
field_9257
gameMode
field_77172_b
gameType
private final boolean
c
hardcore
field_9262
structures
field_77170_d
hardcore
private final Difficulty
d
difficulty
field_24106
difficulty
field_234944_d_
difficulty
private final boolean
e
allowCommands
field_9261
hardcore
field_77168_f
allowCommands
private final GameRules
f
gameRules
field_24107
gameRules
field_234945_f_
gameRules
private final DataPackConfig
g
dataPackConfig
field_25403
field_25403
field_234946_g_

Constructor summary

ModifierConstructor
public (String name, GameType arg1, boolean arg2, Difficulty arg3, boolean arg4, GameRules arg5, DataPackConfig arg6)

Method summary

Modifier and TypeMethod
public static LevelSettings
a(com.mojang.serialization.Dynamic<?> arg0, bpn arg1)
parse(com.mojang.serialization.Dynamic<?> arg0, DataPackConfig arg1)
method_28383(com.mojang.serialization.Dynamic<?> arg0, class_5359 arg1)
method_28383(com.mojang.serialization.Dynamic<?> arg0, DataPackSettings arg1)
func_234951_a_(com.mojang.serialization.Dynamic<?> arg0, DatapackCodec arg1)
public String
a()
levelName()
method_27339()
getLevelName()
func_234947_a_()
getLevelName()
public GameType
b()
gameType()
method_8574()
getGameMode()
func_234953_b_()
getGameType()
public boolean
c()
hardcore()
method_8583()
hasStructures()
func_234954_c_()
isHardcore()
public Difficulty
d()
difficulty()
method_27340()
getDifficulty()
func_234955_d_()
getDifficulty()
public boolean
e()
allowCommands()
method_8582()
isHardcore()
func_234956_e_()
public GameRules
f()
gameRules()
method_27341()
getGameRules()
func_234957_f_()
getGameRules()
public DataPackConfig
g()
getDataPackConfig()
method_29558()
method_29558()
func_234958_g_()
public LevelSettings
a(bpy arg0)
withGameType(GameType arg0)
method_28382(class_1934 arg0)
method_28382(GameMode arg0)
func_234950_a_(GameType arg0)
public LevelSettings
a(and arg0)
withDifficulty(Difficulty arg0)
method_28381(class_1267 arg0)
method_28381(Difficulty arg0)
func_234948_a_(Difficulty arg0)
public LevelSettings
a(bpn arg0)
withDataPackConfig(DataPackConfig arg0)
method_29557(class_5359 arg0)
method_29557(DataPackSettings arg0)
func_234949_a_(DatapackCodec arg0)
public LevelSettings
h()
copy()
method_28385()
method_28385()
func_234959_h_()