net.minecraft.world.level

public final class LevelSettings

bsa
net.minecraft.world.level.LevelSettings
net.minecraft.class_1940
net.minecraft.world.level.LevelInfo
net.minecraft.world.WorldSettings
net.minecraft.server.v1_16_R3.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
hardcore
field_77170_d
hardcore
private final Difficulty
d
difficulty
field_24106
difficulty
field_234944_d_
difficulty
private final boolean
e
allowCommands
field_9261
allowCommands
field_77168_f
allowCommands
private final GameRules
f
gameRules
field_24107
gameRules
field_234945_f_
gameRules
private final DataPackConfig
g
dataPackConfig
field_25403
dataPackSettings
field_234946_g_

Constructor summary

ModifierConstructor
public (String name, GameType gameMode, boolean hardcore, Difficulty difficulty, boolean allowCommands, GameRules gameRules, DataPackConfig dataPackSettings)

Method summary

Modifier and TypeMethod
public static LevelSettings
a(com.mojang.serialization.Dynamic<?> arg0, brk arg1)
parse(com.mojang.serialization.Dynamic<?> arg0, DataPackConfig arg1)
method_28383(com.mojang.serialization.Dynamic<?> arg0, class_5359 arg1)
fromDynamic(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()
isHardcore()
func_234954_c_()
isHardcore()
public Difficulty
d()
difficulty()
method_27340()
getDifficulty()
func_234955_d_()
getDifficulty()
public boolean
e()
allowCommands()
method_8582()
areCommandsAllowed()
func_234956_e_()
public GameRules
f()
gameRules()
method_27341()
getGameRules()
func_234957_f_()
getGameRules()
public DataPackConfig
g()
getDataPackConfig()
method_29558()
getDataPackSettings()
func_234958_g_()
public LevelSettings
a(bru arg0)
withGameType(GameType arg0)
method_28382(class_1934 arg0)
withGameMode(GameMode mode)
func_234950_a_(GameType arg0)
public LevelSettings
a(aor arg0)
withDifficulty(Difficulty arg0)
method_28381(class_1267 arg0)
withDifficulty(Difficulty difficulty)
func_234948_a_(Difficulty arg0)
public LevelSettings
a(brk arg0)
withDataPackConfig(DataPackConfig arg0)
method_29557(class_5359 arg0)
withDataPackSettings(DataPackSettings dataPackSettings)
func_234949_a_(DatapackCodec arg0)
public LevelSettings
h()
copy()
method_28385()
withCopiedGameRules()
func_234959_h_()