net.minecraft.world.level

public final class LevelSettings

cmq
net.minecraft.world.level.LevelSettings
net.minecraft.class_1940
net.minecraft.unmapped.C_tmnkpzlg
net.minecraft.world.level.LevelInfo
net.minecraft.world.WorldInfo
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 WorldDataConfiguration
g
dataConfiguration
field_25403
f_eptdpwdn
dataConfiguration
featureAndDataSettings
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, cnf arg1)
parse(com.mojang.serialization.Dynamic<?> arg0, WorldDataConfiguration arg1)
method_28383(com.mojang.serialization.Dynamic<?> arg0, class_7712 arg1)
m_zgjsltvf(com.mojang.serialization.Dynamic<?> arg0, C_yknpgzdr arg1)
fromDynamic(com.mojang.serialization.Dynamic<?> dynamic, DataConfiguration dataConfiguration)
fromDynamic(com.mojang.serialization.Dynamic<?> dynamic, FeatureAndDataSettings featureAndDataSettings)
m_46924_(com.mojang.serialization.Dynamic<?> p_46925_, C_243530_ p_251697_)
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 WorldDataConfiguration
g()
getDataConfiguration()
method_29558()
m_ivrndkyz()
getDataConfiguration()
getFeatureAndDataSettings()
m_246291_()
public LevelSettings
a(cmj 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(bdu 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(cnf arg0)
withDataConfiguration(WorldDataConfiguration arg0)
method_29557(class_7712 arg0)
m_zexmvkbz(C_yknpgzdr arg0)
withDataConfiguration(DataConfiguration dataConfiguration)
withFeatureAndDataSettings(FeatureAndDataSettings settings)
m_247275_(C_243530_ arg0)
public LevelSettings
h()
copy()
method_28385()
m_vscahehr()
withCopiedGameRules()
withCopiedGameRules()
m_46935_()