net.minecraft.world.level.levelgen

public class WorldOptions

dez
net.minecraft.world.level.levelgen.WorldOptions
net.minecraft.class_5285
net.minecraft.unmapped.C_naismckd
net.minecraft.world.gen.GeneratorOptions
net.minecraft.unmapped.C_naismckd
net.minecraft.src.C_243453_
net.minecraft.world.level.levelgen.WorldOptions

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<WorldOptions>
a
CODEC
field_24826
f_mkntrpfb
CODEC
f_244622_
public static final WorldOptions
b
DEMO_OPTIONS
field_40367
f_dkcmtchf
DEMO_OPTIONS
f_244225_
private final long
c
seed
field_24526
f_yldshikn
seed
f_243816_
private final boolean
d
generateStructures
field_24527
f_hyzjaqjn
generateStructures
f_244001_
private final boolean
e
generateBonusChest
field_24528
f_pnirnqxk
bonusChest
f_244615_
private final Optional<String>
f
legacyCustomOptions
field_24532
f_ytoamxkk
legacyCustomOptions
legacyCustomOptions
f_243984_

Constructor summary

ModifierConstructor
public (long seed, boolean generateStructures, boolean bonusChest)
private (long seed, boolean generateStructures, boolean bonusChest, Optional<String> legacyCustomOptions)

Method summary

Modifier and TypeMethod
public static WorldOptions
a()
defaultWithRandomSeed()
method_45541()
m_eqssqiia()
createRandom()
m_247394_()
public long
b()
seed()
method_28028()
m_hznzeals()
getSeed()
getSeed()
m_245499_()
public boolean
c()
generateStructures()
method_28029()
m_sqlnyoyg()
shouldGenerateStructures()
getGenerateFeatures()
m_247749_()
public boolean
d()
generateBonusChest()
method_28030()
m_ebsveypn()
hasBonusChest()
getBonusChest()
m_245100_()
public boolean
e()
isOldCustomizedWorld()
method_28035()
m_kmrxtmbu()
isLegacyCustomizedType()
m_247070_()
public WorldOptions
a(boolean arg0)
withBonusChest(boolean arg0)
method_28036(boolean arg0)
m_mtcmkuis(boolean arg0)
withBonusChest(boolean bonusChest)
m_247325_(boolean arg0)
public WorldOptions
b(boolean arg0)
withStructures(boolean arg0)
method_45542(boolean arg0)
m_rywnscbm(boolean arg0)
withStructures(boolean structures)
m_247283_(boolean arg0)
public WorldOptions
a(OptionalLong arg0)
withSeed(OptionalLong arg0)
method_28024(OptionalLong arg0)
m_whpudwxo(OptionalLong arg0)
withSeed(OptionalLong seed)
m_261051_(OptionalLong arg0)
public static OptionalLong
a(String arg0)
parseSeed(String arg0)
method_46720(String arg0)
m_ekhqpehw(String arg0)
parseSeed(String seed)
m_261063_(String p_262144_)
public static long
f()
randomSeed()
method_46721()
m_vxdghyuk()
getRandomSeed()
m_255240_()