net.minecraft.world.level.levelgen

public class WorldGenSettings

cty
net.minecraft.world.level.levelgen.WorldGenSettings
net.minecraft.class_5285
net.minecraft.unmapped.C_oxnufhsj
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
f_ujragqqq
CODEC
f_64600_
private static final org.apache.logging.log4j.Logger
b
LOGGER
field_24525
f_wqoqdnsg
LOGGER
f_64601_
private final long
c
seed
field_24526
f_fspemwwp
seed
f_64602_
private final boolean
d
generateFeatures
field_24527
f_rlurmhfe
generateStructures
f_64603_
private final boolean
e
generateBonusChest
field_24528
f_tmfdxbwu
bonusChest
f_64604_
private final MappedRegistry<LevelStem>
f
dimensions
field_24827
f_xzhujlzi
options
f_64605_
private final Optional<String>
g
legacyCustomOptions
field_24532
f_sbdkbpdu
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()
m_xlbuhhze()
validate()
m_64674_()
private boolean
n()
stable()
method_28611()
m_lijmwcul()
isStable()
m_64675_()
public static WorldGenSettings
a(gy arg0)
demoSettings(RegistryAccess arg0)
method_31112(class_5455 arg0)
m_takwpkdn(C_wqxmvzdq arg0)
createDemo(DynamicRegistryManager registryManager)
m_64645_(C_4706_ p_64646_)
public static WorldGenSettings
b(gy arg0)
makeDefault(RegistryAccess arg0)
method_28009(class_5455 arg0)
m_zcxwlbgs(C_wqxmvzdq arg0)
getDefaultOptions(DynamicRegistryManager registryManager)
m_190050_(C_4706_ p_190051_)
public static NoiseBasedChunkGenerator
a(gy arg0, long arg1)
makeDefaultOverworld(RegistryAccess arg0, long arg1)
method_28604(class_5455 arg0, long arg1)
m_vddqxaoy(C_wqxmvzdq arg0, long arg1)
createOverworldGenerator(DynamicRegistryManager registryManager, long seed)
m_190027_(C_4706_ p_190028_, long p_190029_)
public static NoiseBasedChunkGenerator
a(gy arg0, long arg1, boolean arg2)
makeDefaultOverworld(RegistryAccess arg0, long arg1, boolean arg2)
method_39558(class_5455 arg0, long arg1, boolean arg2)
m_sznbiypt(C_wqxmvzdq arg0, long arg1, boolean arg2)
createOverworldGenerator(DynamicRegistryManager registryManager, long seed, boolean arg2)
m_190039_(C_4706_ p_190040_, long p_190041_, boolean arg2)
public static NoiseBasedChunkGenerator
a(gy arg0, long arg1, yg<cth> arg2)
makeOverworld(RegistryAccess arg0, long arg1, ResourceKey<NoiseGeneratorSettings> arg2)
method_39556(class_5455 arg0, long arg1, class_5321<class_5284> arg2)
m_zaqliqls(C_wqxmvzdq arg0, long arg1, C_xhhleach<C_lwpfhits> arg2)
createGenerator(DynamicRegistryManager registryManager, long seed, RegistryKey<ChunkGeneratorSettings> settings)
m_190030_(C_4706_ p_190031_, long p_190032_, C_5264_<C_2194_> arg2)
public static NoiseBasedChunkGenerator
a(gy arg0, long arg1, yg<cth> arg2, boolean arg3)
makeOverworld(RegistryAccess arg0, long arg1, ResourceKey<NoiseGeneratorSettings> arg2, boolean arg3)
method_39557(class_5455 arg0, long arg1, class_5321<class_5284> arg2, boolean arg3)
m_vqyturwg(C_wqxmvzdq arg0, long arg1, C_xhhleach<C_lwpfhits> arg2, boolean arg3)
createGenerator(DynamicRegistryManager registryManager, long seed, RegistryKey<ChunkGeneratorSettings> settings, boolean arg3)
m_190034_(C_4706_ p_190035_, long p_190036_, C_5264_<C_2194_> p_190038_, boolean arg3)
public long
a()
seed()
method_28028()
m_zzgwibjc()
getSeed()
m_64619_()
public boolean
b()
generateFeatures()
method_28029()
m_lcqrtjvh()
shouldGenerateStructures()
m_64657_()
public boolean
c()
generateBonusChest()
method_28030()
m_cqmzxmrg()
hasBonusChest()
m_64660_()
public static MappedRegistry<LevelStem>
a(gx<crg> arg0, gs<crh> arg1, cpz 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)
m_bemqaurb(C_tqxyjqsk<C_oxijnccf> arg0, C_secmvxxe<C_alziuayn> arg1, C_kgfalbim 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(gs<crh> arg0, Supplier<crg> arg1, cpz arg2)
withOverworld(MappedRegistry<LevelStem> arg0, Supplier<DimensionType> arg1, ChunkGenerator arg2)
method_29962(class_2370<class_5363> arg0, Supplier<class_2874> arg1, class_2794 arg2)
m_okxqzggj(C_secmvxxe<C_alziuayn> arg0, Supplier<C_oxijnccf> arg1, C_kgfalbim 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()
m_smtjtqti()
getDimensions()
m_64663_()
public ChunkGenerator
e()
overworld()
method_28032()
m_tmawifvv()
getChunkGenerator()
m_64666_()
public com.google.common.collect.ImmutableSet<ResourceKey<Level>>
f()
levels()
method_29575()
m_oixkohgx()
getWorlds()
m_64667_()
public static ResourceKey<Level>
a(yg<crh> arg0)
levelStemToLevel(ResourceKey<LevelStem> arg0)
method_39334(class_5321<class_5363> arg0)
m_icqesokm(C_xhhleach<C_alziuayn> arg0)
toWorldKey(RegistryKey<DimensionOptions> dimensionOptionsKey)
m_190048_(C_5264_<C_2176_> p_190049_)
public static ResourceKey<LevelStem>
b(yg<cad> arg0)
levelToLevelStem(ResourceKey<Level> arg0)
method_39335(class_5321<class_1937> arg0)
m_tyakllza(C_xhhleach<C_cdctfzbn> arg0)
toDimensionOptionsKey(RegistryKey<World> worldKey)
m_190052_(C_5264_<C_1596_> p_190053_)
public boolean
g()
isDebug()
method_28033()
m_yffckrrz()
isDebugWorld()
m_64668_()
public boolean
h()
isFlatWorld()
method_28034()
m_imrgysar()
isFlatWorld()
m_64669_()
public boolean
i()
isOldCustomizedWorld()
method_28035()
m_ogpobpuc()
isLegacyCustomizedType()
m_64670_()
public WorldGenSettings
j()
withBonusChest()
method_28036()
m_pouxcvdg()
withBonusChest()
m_64671_()
public WorldGenSettings
k()
withFeaturesToggled()
method_28037()
m_hepwvczx()
toggleGenerateStructures()
m_64672_()
public WorldGenSettings
l()
withBonusChestToggled()
method_28038()
m_cpndkmxk()
toggleBonusChest()
m_64673_()
public static WorldGenSettings
a(gy arg0, Properties arg1)
create(RegistryAccess arg0, Properties arg1)
method_28021(class_5455 arg0, Properties arg1)
m_eeygvqcp(C_wqxmvzdq 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)
m_xxhdubmz(boolean arg0, OptionalLong arg1)
withHardcore(boolean hardcore, OptionalLong seed)
m_64654_(boolean p_64656_, OptionalLong arg1)