net.minecraft.world.level.levelgen

public class WorldOptions

ehe
net.minecraft.world.level.levelgen.WorldOptions
net.minecraft.class_5285
net.minecraft.unmapped.C_naismckd
net.minecraft.world.gen.GeneratorOptions
net.minecraft.world.gen.WorldGeneratorOptions

Field summary

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

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()
withRandomSeed()
public static WorldOptions
b()
testWorldWithRandomSeed()
method_64223()
m_ayttyctz()
createTestWorld()
public long
c()
seed()
method_28028()
m_hznzeals()
getSeed()
getSeed()
public boolean
d()
generateStructures()
method_28029()
m_sqlnyoyg()
shouldGenerateStructures()
hasFeatureGeneration()
public boolean
e()
generateBonusChest()
method_28030()
m_ebsveypn()
hasBonusChest()
hasBonusChest()
public boolean
f()
isOldCustomizedWorld()
method_28035()
m_kmrxtmbu()
isLegacyCustomizedType()
hasLegacyCustomOptions()
public WorldOptions
a(boolean arg0)
withBonusChest(boolean arg0)
method_28036(boolean arg0)
m_mtcmkuis(boolean arg0)
withBonusChest(boolean bonusChest)
withBonusChest(boolean hasBonusChest)
public WorldOptions
b(boolean arg0)
withStructures(boolean arg0)
method_45542(boolean arg0)
m_rywnscbm(boolean arg0)
withStructures(boolean structures)
withFeatureGeneration(boolean featureGeneration)
public WorldOptions
a(OptionalLong arg0)
withSeed(OptionalLong arg0)
method_28024(OptionalLong arg0)
m_whpudwxo(OptionalLong arg0)
withSeed(OptionalLong seed)
withSeed(OptionalLong seed)
public static OptionalLong
a(String arg0)
parseSeed(String arg0)
method_46720(String arg0)
m_ekhqpehw(String arg0)
parseSeed(String seed)
parseOptionalLong(String string)
public static long
g()
randomSeed()
method_46721()
m_vxdghyuk()
getRandomSeed()
getRandomSeed()