net.minecraft.world.gen

public class GeneratorOptions

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

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<GeneratorOptions>
a
CODEC
field_24826
CODEC
f_mkntrpfb
CODEC
f_244622_
public static final GeneratorOptions
b
DEMO_OPTIONS
field_40367
DEMO_OPTIONS
f_dkcmtchf
DEFAULT
f_244225_
private final long
c
seed
field_24526
seed
f_yldshikn
seed
f_243816_
private final boolean
d
generateStructures
field_24527
generateStructures
f_hyzjaqjn
hasFeatureGeneration
f_244001_
private final boolean
e
generateBonusChest
field_24528
bonusChest
f_pnirnqxk
hasBonusChest
f_244615_
private final Optional<String>
f
legacyCustomOptions
field_24532
legacyCustomOptions
f_ytoamxkk
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 GeneratorOptions
a()
defaultWithRandomSeed()
method_45541()
createRandom()
m_eqssqiia()
withRandomSeed()
m_247394_()
public static GeneratorOptions
b()
testWorldWithRandomSeed()
method_64223()
createTestWorld()
m_ayttyctz()
m_354033_()
public long
c()
seed()
method_28028()
getSeed()
m_hznzeals()
getSeed()
m_245499_()
public boolean
d()
generateStructures()
method_28029()
shouldGenerateStructures()
m_sqlnyoyg()
hasFeatureGeneration()
m_247749_()
public boolean
e()
generateBonusChest()
method_28030()
hasBonusChest()
m_ebsveypn()
hasBonusChest()
m_245100_()
public boolean
f()
isOldCustomizedWorld()
method_28035()
isLegacyCustomizedType()
m_kmrxtmbu()
hasLegacyCustomOptions()
m_247070_()
public GeneratorOptions
a(boolean arg0)
withBonusChest(boolean arg0)
method_28036(boolean arg0)
withBonusChest(boolean bonusChest)
m_mtcmkuis(boolean arg0)
withBonusChest(boolean hasBonusChest)
m_247325_(boolean arg0)
public GeneratorOptions
b(boolean arg0)
withStructures(boolean arg0)
method_45542(boolean arg0)
withStructures(boolean structures)
m_rywnscbm(boolean arg0)
withFeatureGeneration(boolean featureGeneration)
m_247283_(boolean arg0)
public GeneratorOptions
a(OptionalLong arg0)
withSeed(OptionalLong arg0)
method_28024(OptionalLong arg0)
withSeed(OptionalLong seed)
m_whpudwxo(OptionalLong arg0)
withSeed(OptionalLong seed)
m_261051_(OptionalLong arg0)
public static OptionalLong
a(String o)
parseSeed(String arg0)
method_46720(String arg0)
parseSeed(String seed)
m_ekhqpehw(String arg0)
parseOptionalLong(String string)
m_261063_(String p_262144_)
public static long
g()
randomSeed()
method_46721()
getRandomSeed()
m_vxdghyuk()
getRandomSeed()
m_255240_()