net.minecraft.world.level.levelgen

public class WorldGenSettings

dbm
net.minecraft.world.level.levelgen.WorldGenSettings
net.minecraft.class_5285
net.minecraft.unmapped.C_oxnufhsj
net.minecraft.world.gen.GeneratorOptions
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
CODEC
f_64600_
private final long
b
seed
field_24526
f_fspemwwp
seed
seed
f_64602_
private final boolean
c
generateStructures
field_24527
f_iaytplvo
generateStructures
generateFeatures
f_224672_
private final boolean
d
generateBonusChest
field_24528
f_tmfdxbwu
bonusChest
bonusChest
f_64604_
private final Registry<LevelStem>
e
dimensions
field_24827
f_xzhujlzi
options
dimensions
f_64605_
private final Optional<String>
f
legacyCustomOptions
field_24532
f_sbdkbpdu
legacyCustomOptions
legacyCustomOptions
f_64606_

Constructor summary

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

Method summary

Modifier and TypeMethod
private com.mojang.serialization.DataResult<WorldGenSettings>
m()
guardExperimental()
method_28610()
m_xlbuhhze()
validate()
validate()
m_64674_()
private boolean
n()
stable()
method_28611()
m_lijmwcul()
isStable()
isStable()
m_64675_()
public long
a()
seed()
method_28028()
m_zzgwibjc()
getSeed()
getSeed()
m_64619_()
public boolean
b()
generateStructures()
method_28029()
m_tkpsewut()
shouldGenerateStructures()
shouldGenerateFeatures()
m_224677_()
public boolean
c()
generateBonusChest()
method_28030()
m_cqmzxmrg()
hasBonusChest()
hasBonusChest()
m_64660_()
public static WorldGenSettings
a(hn arg0, dbm arg1, cxk arg2)
replaceOverworldGenerator(RegistryAccess arg0, WorldGenSettings arg1, ChunkGenerator arg2)
method_41563(class_5455 arg0, class_5285 arg1, class_2794 arg2)
m_voyjsmwp(C_wqxmvzdq arg0, C_oxnufhsj arg1, C_kgfalbim arg2)
create(DynamicRegistryManager dynamicRegistryManager, GeneratorOptions generatorOptions, ChunkGenerator chunkGenerator)
replaceOverworldGenerator(DynamicRegistryManager registryManager, GeneratorOptions generatorOptions, ChunkGenerator chunkGenerator)
m_224673_(C_4706_ p_224674_, C_2201_ p_224675_, C_2118_ p_224676_)
public static Registry<LevelStem>
a(hm<cyu> arg0, hm<cyv> arg1, cxk arg2)
withOverworld(Registry<DimensionType> arg0, Registry<LevelStem> arg1, ChunkGenerator arg2)
method_28608(class_2378<class_2874> arg0, class_2378<class_5363> arg1, class_2794 arg2)
m_vowwbqhw(C_tqxyjqsk<C_oxijnccf> arg0, C_tqxyjqsk<C_alziuayn> arg1, C_kgfalbim arg2)
getRegistryWithReplacedOverworldGenerator(Registry<DimensionType> dimensionTypeRegistry, Registry<DimensionOptions> options, ChunkGenerator overworldGenerator)
getRegistryWithReplacedOverworldGenerator(Registry<DimensionType> dimensionTypeRegistry, Registry<DimensionOptions> dimensionOptionsRegistry, ChunkGenerator chunkGenerator)
m_204649_(C_4705_<C_2175_> p_204650_, C_4705_<C_2176_> p_204651_, C_2118_ p_204652_)
public static Registry<LevelStem>
a(hm<cyv> arg0, hc<cyu> arg1, cxk arg2)
withOverworld(Registry<LevelStem> arg0, Holder<DimensionType> arg1, ChunkGenerator arg2)
method_29962(class_2378<class_5363> arg0, class_6880<class_2874> arg1, class_2794 arg2)
m_pjdldtkh(C_tqxyjqsk<C_alziuayn> arg0, C_cjzoxshv<C_oxijnccf> arg1, C_kgfalbim arg2)
getRegistryWithReplacedOverworld(Registry<DimensionOptions> options, RegistryEntry<DimensionType> dimensionType, ChunkGenerator overworldGenerator)
getRegistryWithReplacedOverworld(Registry<DimensionOptions> dimensionTypeRegistry, Holder<DimensionType> dimensionType, ChunkGenerator chunkGenerator)
m_204645_(C_4705_<C_2176_> p_204646_, C_203228_<C_2175_> p_204647_, C_2118_ p_204648_)
public Registry<LevelStem>
d()
dimensions()
method_28609()
m_smtjtqti()
getDimensions()
getDimensions()
m_204655_()
public ChunkGenerator
e()
overworld()
method_28032()
m_tmawifvv()
getChunkGenerator()
getChunkGenerator()
m_64666_()
public com.google.common.collect.ImmutableSet<ResourceKey<Level>>
f()
levels()
method_29575()
m_oixkohgx()
getWorlds()
getWorlds()
m_64667_()
public static ResourceKey<Level>
a(aba<cyv> arg0)
levelStemToLevel(ResourceKey<LevelStem> arg0)
method_39334(class_5321<class_5363> arg0)
m_icqesokm(C_xhhleach<C_alziuayn> arg0)
toWorldKey(RegistryKey<DimensionOptions> dimensionOptionsKey)
toWorldKey(RegistryKey<DimensionOptions> dimensionOptionsKey)
m_190048_(C_5264_<C_2176_> p_190049_)
public static ResourceKey<LevelStem>
b(aba<cgx> arg0)
levelToLevelStem(ResourceKey<Level> arg0)
method_39335(class_5321<class_1937> arg0)
m_tyakllza(C_xhhleach<C_cdctfzbn> arg0)
toDimensionOptionsKey(RegistryKey<World> worldKey)
toDimensionOptionsKey(RegistryKey<World> worldKey)
m_190052_(C_5264_<C_1596_> p_190053_)
public boolean
g()
isDebug()
method_28033()
m_yffckrrz()
isDebugWorld()
isDebugWorld()
m_64668_()
public boolean
h()
isFlatWorld()
method_28034()
m_imrgysar()
isFlatWorld()
isFlatWorld()
m_64669_()
public boolean
i()
isOldCustomizedWorld()
method_28035()
m_ogpobpuc()
isLegacyCustomizedType()
isLegacyCustomizedType()
m_64670_()
public WorldGenSettings
j()
withBonusChest()
method_28036()
m_pouxcvdg()
withBonusChest()
withBonusChest()
m_64671_()
public WorldGenSettings
k()
withStructuresToggled()
method_28037()
m_hpoiqhol()
toggleGenerateStructures()
toggleGenerateFeatures()
m_224678_()
public WorldGenSettings
l()
withBonusChestToggled()
method_28038()
m_cpndkmxk()
toggleBonusChest()
toggleBonusChest()
m_64673_()
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)
withHardcore(boolean hardcore, OptionalLong seed)
m_64654_(boolean p_64656_, OptionalLong arg1)
public static OptionalLong
a(String arg0)
parseSeed(String arg0)
method_40024(String arg0)
m_abomatuj(String arg0)
parseSeed(String seed)
parseSeed(String seedString)
m_202192_(String p_202193_)