net.minecraft.world.level

public final class LevelSettings

cge
net.minecraft.world.level.LevelSettings
net.minecraft.class_1940
net.minecraft.unmapped.C_tmnkpzlg
net.minecraft.world.level.LevelInfo
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
f_grufxcps
name
name
f_46902_
private final GameType
b
gameType
field_9257
f_mroyqsfx
gameMode
gameMode
f_46903_
private final boolean
c
hardcore
field_9262
f_dczuebzs
hardcore
hardcore
f_46904_
private final Difficulty
d
difficulty
field_24106
f_ylkkcrgx
difficulty
difficulty
f_46905_
private final boolean
e
allowCommands
field_9261
f_ggtamjbh
allowCommands
allowCommands
f_46906_
private final GameRules
f
gameRules
field_24107
f_mynxrmyp
gameRules
gameRules
f_46907_
private final DataPackConfig
g
dataPackConfig
field_25403
f_lmyvzldn
dataPackSettings
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, cfo arg1)
parse(com.mojang.serialization.Dynamic<?> arg0, DataPackConfig arg1)
method_28383(com.mojang.serialization.Dynamic<?> arg0, class_5359 arg1)
m_zgjsltvf(com.mojang.serialization.Dynamic<?> arg0, C_tjllhmjy arg1)
fromDynamic(com.mojang.serialization.Dynamic<?> dynamic, DataPackSettings dataPackSettings)
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()
m_phhrrlya()
getLevelName()
getLevelName()
m_46917_()
public GameType
b()
gameType()
method_8574()
m_tbeonhhz()
getGameMode()
getGameMode()
m_46929_()
public boolean
c()
hardcore()
method_8583()
m_nwnowglu()
isHardcore()
isHardcore()
m_46930_()
public Difficulty
d()
difficulty()
method_27340()
m_ackskuhh()
getDifficulty()
getDifficulty()
m_46931_()
public boolean
e()
allowCommands()
method_8582()
m_xvkjdzrm()
areCommandsAllowed()
areCommandsAllowed()
m_46932_()
public GameRules
f()
gameRules()
method_27341()
m_qbubrzxc()
getGameRules()
getGameRules()
m_46933_()
public DataPackConfig
g()
getDataPackConfig()
method_29558()
m_ndrsexsp()
getDataPackSettings()
getDataPackSettings()
m_46934_()
public LevelSettings
a(cfx arg0)
withGameType(GameType arg0)
method_28382(class_1934 arg0)
m_zkhyjhyf(C_lghcpyvl arg0)
withGameMode(GameMode mode)
withGameMode(GameMode mode)
m_46922_(C_1593_ arg0)
public LevelSettings
a(azj arg0)
withDifficulty(Difficulty arg0)
method_28381(class_1267 arg0)
m_cqmszqoo(C_mpbjgxic arg0)
withDifficulty(Difficulty difficulty)
withDifficulty(Difficulty difficulty)
m_46918_(C_468_ arg0)
public LevelSettings
a(cfo arg0)
withDataPackConfig(DataPackConfig arg0)
method_29557(class_5359 arg0)
m_xoghanel(C_tjllhmjy arg0)
withDataPackSettings(DataPackSettings dataPackSettings)
withDataPackSettings(DataPackSettings dataPackSettings)
m_46920_(C_1573_ arg0)
public LevelSettings
h()
copy()
method_28385()
m_vscahehr()
withCopiedGameRules()
withCopiedGameRules()
m_46935_()