net.minecraft.world.gen

public class GeneratorOptions

dbm
net.minecraft.world.level.levelgen.WorldGenSettings
net.minecraft.class_5285
net.minecraft.world.gen.GeneratorOptions
net.minecraft.unmapped.C_oxnufhsj
net.minecraft.world.gen.GeneratorOptions
net.minecraft.src.C_2201_

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<GeneratorOptions>
a
CODEC
field_24826
CODEC
f_ujragqqq
CODEC
f_64600_
private final long
b
seed
field_24526
seed
f_fspemwwp
seed
f_64602_
private final boolean
c
generateStructures
field_24527
generateStructures
f_iaytplvo
generateFeatures
f_224672_
private final boolean
d
generateBonusChest
field_24528
bonusChest
f_tmfdxbwu
bonusChest
f_64604_
private final Registry<DimensionOptions>
e
dimensions
field_24827
options
f_xzhujlzi
dimensions
f_64605_
private final Optional<String>
f
legacyCustomOptions
field_24532
legacyCustomOptions
f_sbdkbpdu
legacyCustomOptions
f_64606_

Constructor summary

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

Method summary

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