net.minecraft.world.level.levelgen

public class WorldOptions

eeo
net.minecraft.world.level.levelgen.WorldOptions
net.minecraft.class_5285
net.minecraft.world.gen.GeneratorOptions
net.minecraft.world.level.levelgen.WorldOptions

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<WorldOptions>
a
CODEC
field_24826
CODEC
public static final WorldOptions
b
DEMO_OPTIONS
field_40367
DEMO_OPTIONS
private final long
c
seed
field_24526
seed
private final boolean
d
generateStructures
field_24527
generateStructures
private final boolean
e
generateBonusChest
field_24528
bonusChest
private final Optional<String>
f
legacyCustomOptions
field_24532
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()
createRandom()
public static WorldOptions
b()
testWorldWithRandomSeed()
method_64223()
createTestWorld()
public long
c()
seed()
method_28028()
getSeed()
public boolean
d()
generateStructures()
method_28029()
shouldGenerateStructures()
public boolean
e()
generateBonusChest()
method_28030()
hasBonusChest()
public boolean
f()
isOldCustomizedWorld()
method_28035()
isLegacyCustomizedType()
public WorldOptions
a(boolean arg0)
withBonusChest(boolean arg0)
method_28036(boolean arg0)
withBonusChest(boolean bonusChest)
public WorldOptions
b(boolean arg0)
withStructures(boolean arg0)
method_45542(boolean arg0)
withStructures(boolean structures)
public WorldOptions
a(OptionalLong arg0)
withSeed(OptionalLong arg0)
method_28024(OptionalLong arg0)
withSeed(OptionalLong seed)
public static OptionalLong
a(String arg0)
parseSeed(String arg0)
method_46720(String arg0)
parseSeed(String seed)
public static long
g()
randomSeed()
method_46721()
getRandomSeed()