net.minecraft.world.level.levelgen

public class WorldOptions

dez
net.minecraft.world.level.levelgen.WorldOptions
net.minecraft.class_5285
net.minecraft.world.gen.GeneratorOptions
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
CODEC
f_244622_
public static final WorldOptions
b
DEMO_OPTIONS
field_40367
DEMO_OPTIONS
f_244225_
private final long
c
seed
field_24526
seed
f_243816_
private final boolean
d
generateStructures
field_24527
generateStructures
f_244001_
private final boolean
e
generateBonusChest
field_24528
bonusChest
f_244615_
private final Optional<String>
f
legacyCustomOptions
field_24532
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()
createRandom()
m_247394_()
public long
b()
seed()
method_28028()
getSeed()
m_245499_()
public boolean
c()
generateStructures()
method_28029()
shouldGenerateStructures()
m_247749_()
public boolean
d()
generateBonusChest()
method_28030()
hasBonusChest()
m_245100_()
public boolean
e()
isOldCustomizedWorld()
method_28035()
isLegacyCustomizedType()
m_247070_()
public WorldOptions
a(boolean arg0)
withBonusChest(boolean arg0)
method_28036(boolean arg0)
withBonusChest(boolean bonusChest)
m_247325_(boolean arg0)
public WorldOptions
b(boolean arg0)
withStructures(boolean arg0)
method_45542(boolean arg0)
withStructures(boolean structures)
m_247283_(boolean arg0)
public WorldOptions
a(OptionalLong arg0)
withSeed(OptionalLong arg0)
method_28024(OptionalLong arg0)
withSeed(OptionalLong seed)
m_261051_(OptionalLong arg0)
public static OptionalLong
a(String arg0)
parseSeed(String arg0)
method_46720(String arg0)
parseSeed(String seed)
m_261063_(String p_262144_)
public static long
f()
randomSeed()
method_46721()
getRandomSeed()
m_255240_()