net.minecraft.world.level.levelgen

public class WorldOptions

dzw
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
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
CODEC
f_244622_
public static final WorldOptions
b
DEMO_OPTIONS
field_40367
f_dkcmtchf
DEMO_OPTIONS
DEFAULT
f_244225_
private final long
c
seed
field_24526
f_yldshikn
seed
seed
f_243816_
private final boolean
d
generateStructures
field_24527
f_hyzjaqjn
generateStructures
hasFeatureGeneration
f_244001_
private final boolean
e
generateBonusChest
field_24528
f_pnirnqxk
bonusChest
hasBonusChest
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()
withRandomSeed()
m_247394_()
public long
b()
seed()
method_28028()
m_hznzeals()
getSeed()
getSeed()
m_245499_()
public boolean
c()
generateStructures()
method_28029()
m_sqlnyoyg()
shouldGenerateStructures()
hasFeatureGeneration()
m_247749_()
public boolean
d()
generateBonusChest()
method_28030()
m_ebsveypn()
hasBonusChest()
hasBonusChest()
m_245100_()
public boolean
e()
isOldCustomizedWorld()
method_28035()
m_kmrxtmbu()
isLegacyCustomizedType()
hasLegacyCustomOptions()
m_247070_()
public WorldOptions
a(boolean arg0)
withBonusChest(boolean arg0)
method_28036(boolean arg0)
m_mtcmkuis(boolean arg0)
withBonusChest(boolean bonusChest)
withBonusChest(boolean hasBonusChest)
m_247325_(boolean arg0)
public WorldOptions
b(boolean arg0)
withStructures(boolean arg0)
method_45542(boolean arg0)
m_rywnscbm(boolean arg0)
withStructures(boolean structures)
withFeatureGeneration(boolean featureGeneration)
m_247283_(boolean arg0)
public WorldOptions
a(OptionalLong arg0)
withSeed(OptionalLong arg0)
method_28024(OptionalLong arg0)
m_whpudwxo(OptionalLong arg0)
withSeed(OptionalLong seed)
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)
parseOptionalLong(String string)
m_261063_(String p_262144_)
public static long
f()
randomSeed()
method_46721()
m_vxdghyuk()
getRandomSeed()
getRandomSeed()
m_255240_()