net.minecraft.world.level

public final class LevelSettings

bwt
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 DataPackConfig
g
dataPackConfig
field_25403
dataPackSettings
f_46908_

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, bwc 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 dataPackSettings)
m_46924_(com.mojang.serialization.Dynamic<?> p_46925_, C_1573_ p_46926_)
public String
a()
levelName()
method_27339()
getLevelName()
m_46917_()
getLevelName()
public GameType
b()
gameType()
method_8574()
getGameMode()
m_46929_()
getGameType()
public boolean
c()
hardcore()
method_8583()
isHardcore()
m_46930_()
isHardcore()
public Difficulty
d()
difficulty()
method_27340()
getDifficulty()
m_46931_()
getDifficulty()
public boolean
e()
allowCommands()
method_8582()
areCommandsAllowed()
m_46932_()
public GameRules
f()
gameRules()
method_27341()
getGameRules()
m_46933_()
getGameRules()
public DataPackConfig
g()
getDataPackConfig()
method_29558()
getDataPackSettings()
m_46934_()
public LevelSettings
a(bwm arg0)
withGameType(GameType arg0)
method_28382(class_1934 arg0)
withGameMode(GameMode mode)
m_46922_(C_1593_ arg0)
public LevelSettings
a(arx arg0)
withDifficulty(Difficulty arg0)
method_28381(class_1267 arg0)
withDifficulty(Difficulty difficulty)
m_46918_(C_468_ arg0)
public LevelSettings
a(bwc arg0)
withDataPackConfig(DataPackConfig arg0)
method_29557(class_5359 arg0)
withDataPackSettings(DataPackSettings dataPackSettings)
m_46920_(C_1573_ arg0)
public LevelSettings
h()
copy()
method_28385()
withCopiedGameRules()
m_46935_()