net.minecraft.world.level

public final class LevelSettings

cmm
net.minecraft.world.level.LevelSettings
net.minecraft.class_1940
net.minecraft.world.level.LevelInfo
net.minecraft.src.C_1602_
net.minecraft.world.level.WorldSettings

Field summary

Modifier and TypeField
private final String
a
levelName
field_24105
name
f_46902_
private final GameType
b
gameType
field_9257
gameMode
f_46903_
private final boolean
c
hardcore
field_9262
hardcore
f_46904_
private final Difficulty
d
difficulty
field_24106
difficulty
f_46905_
private final boolean
e
allowCommands
field_9261
allowCommands
f_46906_
private final GameRules
f
gameRules
field_24107
gameRules
f_46907_
private final WorldDataConfiguration
g
dataConfiguration
field_25403
dataConfiguration
f_243681_

Constructor summary

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

Method summary

Modifier and TypeMethod
public static LevelSettings
a(com.mojang.serialization.Dynamic<?> arg0, cna arg1)
parse(com.mojang.serialization.Dynamic<?> arg0, WorldDataConfiguration arg1)
method_28383(com.mojang.serialization.Dynamic<?> arg0, class_7712 arg1)
fromDynamic(com.mojang.serialization.Dynamic<?> dynamic, DataConfiguration dataConfiguration)
m_46924_(com.mojang.serialization.Dynamic<?> p_46925_, C_243530_ p_251697_)
public String
a()
levelName()
method_27339()
getLevelName()
m_46917_()
public GameType
b()
gameType()
method_8574()
getGameMode()
m_46929_()
public boolean
c()
hardcore()
method_8583()
isHardcore()
m_46930_()
public Difficulty
d()
difficulty()
method_27340()
getDifficulty()
m_46931_()
public boolean
e()
allowCommands()
method_8582()
areCommandsAllowed()
m_46932_()
public GameRules
f()
gameRules()
method_27341()
getGameRules()
m_46933_()
public WorldDataConfiguration
g()
getDataConfiguration()
method_29558()
getDataConfiguration()
m_246291_()
public LevelSettings
a(cmf arg0)
withGameType(GameType arg0)
method_28382(class_1934 arg0)
withGameMode(GameMode mode)
m_46922_(C_1593_ arg0)
public LevelSettings
a(bdv arg0)
withDifficulty(Difficulty arg0)
method_28381(class_1267 arg0)
withDifficulty(Difficulty difficulty)
m_46918_(C_468_ arg0)
public LevelSettings
a(cna arg0)
withDataConfiguration(WorldDataConfiguration arg0)
method_29557(class_7712 arg0)
withDataConfiguration(DataConfiguration dataConfiguration)
m_247275_(C_243530_ arg0)
public LevelSettings
h()
copy()
method_28385()
withCopiedGameRules()
m_46935_()