net.minecraft.world.level.levelgen

public class WorldGenSettings

cqk
net.minecraft.world.level.levelgen.WorldGenSettings
net.minecraft.class_5285
net.minecraft.world.gen.GeneratorOptions
net.minecraft.src.C_2201_
net.minecraft.world.level.levelgen.GeneratorSettings

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<WorldGenSettings>
a
CODEC
field_24826
CODEC
f_64600_
private static final org.apache.logging.log4j.Logger
b
LOGGER
field_24525
LOGGER
f_64601_
private final long
c
seed
field_24526
seed
f_64602_
private final boolean
d
generateFeatures
field_24527
generateStructures
f_64603_
private final boolean
e
generateBonusChest
field_24528
bonusChest
f_64604_
private final MappedRegistry<LevelStem>
f
dimensions
field_24827
options
f_64605_
private final Optional<String>
g
legacyCustomOptions
field_24532
legacyCustomOptions
f_64606_

Constructor summary

ModifierConstructor
public (long seed, boolean generateStructures, boolean bonusChest, MappedRegistry<LevelStem> options)
private (long seed, boolean generateStructures, boolean bonusChest, MappedRegistry<LevelStem> options, Optional<String> legacyCustomOptions)

Method summary

Modifier and TypeMethod
private com.mojang.serialization.DataResult<WorldGenSettings>
m()
guardExperimental()
method_28610()
validate()
m_64674_()
private boolean
n()
stable()
method_28611()
isStable()
m_64675_()
public static WorldGenSettings
a(gx arg0)
demoSettings(RegistryAccess arg0)
method_31112(class_5455 arg0)
createDemo(DynamicRegistryManager registryManager)
m_64645_(C_4706_ p_64646_)
public static WorldGenSettings
a(gw<cnu> arg0, gw<bxo> arg1, gw<cpu> arg2)
makeDefault(Registry<DimensionType> arg0, Registry<Biome> arg1, Registry<NoiseGeneratorSettings> arg2)
method_28009(class_2378<class_2874> arg0, class_2378<class_1959> arg1, class_2378<class_5284> arg2)
getDefaultOptions(Registry<DimensionType> arg0, Registry<Biome> arg1, Registry<ChunkGeneratorSettings> arg2)
m_64641_(C_4705_<C_2175_> p_64642_, C_4705_<C_1629_> p_64643_, C_4705_<C_2194_> p_64644_)
public static NoiseBasedChunkGenerator
a(gw<bxo> arg0, gw<cpu> arg1, long arg2)
makeDefaultOverworld(Registry<Biome> arg0, Registry<NoiseGeneratorSettings> arg1, long arg2)
method_28604(class_2378<class_1959> arg0, class_2378<class_5284> arg1, long arg2)
createOverworldGenerator(Registry<Biome> biomeRegistry, Registry<ChunkGeneratorSettings> chunkGeneratorSettingsRegistry, long seed)
m_64637_(C_4705_<C_1629_> p_64638_, C_4705_<C_2194_> p_64639_, long p_64640_)
public long
a()
seed()
method_28028()
getSeed()
m_64619_()
getSeed()
public boolean
b()
generateFeatures()
method_28029()
shouldGenerateStructures()
m_64657_()
shouldGenerateMapFeatures()
public boolean
c()
generateBonusChest()
method_28030()
hasBonusChest()
m_64660_()
public static MappedRegistry<LevelStem>
a(gw<cnu> arg0, gr<cnv> arg1, cmn arg2)
withOverworld(Registry<DimensionType> arg0, MappedRegistry<LevelStem> arg1, ChunkGenerator arg2)
method_28608(class_2378<class_2874> arg0, class_2370<class_5363> arg1, class_2794 arg2)
getRegistryWithReplacedOverworldGenerator(Registry<DimensionType> dimensionTypeRegistry, SimpleRegistry<DimensionOptions> optionsRegistry, ChunkGenerator overworldGenerator)
m_64633_(C_4705_<C_2175_> p_64634_, C_4700_<C_2176_> p_64635_, C_2118_ p_64636_)
public static MappedRegistry<LevelStem>
a(gr<cnv> arg0, Supplier<cnu> arg1, cmn arg2)
withOverworld(MappedRegistry<LevelStem> arg0, Supplier<DimensionType> arg1, ChunkGenerator arg2)
method_29962(class_2370<class_5363> arg0, Supplier<class_2874> arg1, class_2794 arg2)
getRegistryWithReplacedOverworld(SimpleRegistry<DimensionOptions> optionsRegistry, Supplier<DimensionType> overworldDimensionType, ChunkGenerator overworldGenerator)
m_64627_(C_4700_<C_2176_> p_64628_, Supplier<C_2175_> p_64629_, C_2118_ p_64630_)
public MappedRegistry<LevelStem>
d()
dimensions()
method_28609()
getDimensions()
m_64663_()
public ChunkGenerator
e()
overworld()
method_28032()
getChunkGenerator()
m_64666_()
getChunkGenerator()
public com.google.common.collect.ImmutableSet<ResourceKey<Level>>
f()
levels()
method_29575()
getWorlds()
m_64667_()
public boolean
g()
isDebug()
method_28033()
isDebugWorld()
m_64668_()
isDebugWorld()
public boolean
h()
isFlatWorld()
method_28034()
isFlatWorld()
m_64669_()
isFlatWorld()
public boolean
i()
isOldCustomizedWorld()
method_28035()
isLegacyCustomizedType()
m_64670_()
public WorldGenSettings
j()
withBonusChest()
method_28036()
withBonusChest()
m_64671_()
public WorldGenSettings
k()
withFeaturesToggled()
method_28037()
toggleGenerateStructures()
m_64672_()
public WorldGenSettings
l()
withBonusChestToggled()
method_28038()
toggleBonusChest()
m_64673_()
public static WorldGenSettings
a(gx arg0, Properties arg1)
create(RegistryAccess arg0, Properties arg1)
method_28021(class_5455 arg0, Properties arg1)
fromProperties(DynamicRegistryManager registryManager, Properties properties)
m_64647_(C_4706_ p_64648_, Properties p_64649_)
public WorldGenSettings
a(boolean arg0, OptionalLong arg1)
withSeed(boolean arg0, OptionalLong arg1)
method_28024(boolean arg0, OptionalLong arg1)
withHardcore(boolean hardcore, OptionalLong seed)
m_64654_(boolean p_64656_, OptionalLong arg1)