net.minecraft.world.level

public final class LevelSettings

bsa
net.minecraft.world.level.LevelSettings
net.minecraft.class_1940
net.minecraft.unmapped.C_tmnkpzlg
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
f_grufxcps
name
field_234943_a_
levelName
private final GameType
b
gameType
field_9257
f_mroyqsfx
gameMode
field_77172_b
gameType
private final boolean
c
hardcore
field_9262
f_dczuebzs
hardcore
field_77170_d
hardcore
private final Difficulty
d
difficulty
field_24106
f_ylkkcrgx
difficulty
field_234944_d_
difficulty
private final boolean
e
allowCommands
field_9261
f_ggtamjbh
allowCommands
field_77168_f
allowCommands
private final GameRules
f
gameRules
field_24107
f_mynxrmyp
gameRules
field_234945_f_
gameRules
private final DataPackConfig
g
dataPackConfig
field_25403
f_lmyvzldn
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)
m_zgjsltvf(com.mojang.serialization.Dynamic<?> arg0, C_tjllhmjy arg1)
fromDynamic(com.mojang.serialization.Dynamic<?> arg0, DataPackSettings dataPackSettings)
func_234951_a_(com.mojang.serialization.Dynamic<?> arg0, DatapackCodec arg1)
public String
a()
levelName()
method_27339()
m_phhrrlya()
getLevelName()
func_234947_a_()
getLevelName()
public GameType
b()
gameType()
method_8574()
m_tbeonhhz()
getGameMode()
func_234953_b_()
getGameType()
public boolean
c()
hardcore()
method_8583()
m_nwnowglu()
isHardcore()
func_234954_c_()
isHardcore()
public Difficulty
d()
difficulty()
method_27340()
m_ackskuhh()
getDifficulty()
func_234955_d_()
getDifficulty()
public boolean
e()
allowCommands()
method_8582()
m_xvkjdzrm()
areCommandsAllowed()
func_234956_e_()
public GameRules
f()
gameRules()
method_27341()
m_qbubrzxc()
getGameRules()
func_234957_f_()
getGameRules()
public DataPackConfig
g()
getDataPackConfig()
method_29558()
m_ndrsexsp()
getDataPackSettings()
func_234958_g_()
public LevelSettings
a(bru arg0)
withGameType(GameType arg0)
method_28382(class_1934 arg0)
m_zkhyjhyf(C_lghcpyvl arg0)
withGameMode(GameMode mode)
func_234950_a_(GameType arg0)
public LevelSettings
a(aor arg0)
withDifficulty(Difficulty arg0)
method_28381(class_1267 arg0)
m_cqmszqoo(C_mpbjgxic arg0)
withDifficulty(Difficulty difficulty)
func_234948_a_(Difficulty arg0)
public LevelSettings
a(brk arg0)
withDataPackConfig(DataPackConfig arg0)
method_29557(class_5359 arg0)
m_xoghanel(C_tjllhmjy arg0)
withDataPackSettings(DataPackSettings dataPackSettings)
func_234949_a_(DatapackCodec arg0)
public LevelSettings
h()
copy()
method_28385()
m_vscahehr()
withCopiedGameRules()
func_234959_h_()