net.minecraft.world.level.levelgen

public class WorldGenSettings

cht
net.minecraft.world.level.levelgen.WorldGenSettings
net.minecraft.class_5285
net.minecraft.world.gen.GeneratorOptions
net.minecraft.world.gen.settings.DimensionGeneratorSettings
net.minecraft.server.v1_16_R2.GeneratorSettings

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<WorldGenSettings>
a
CODEC
field_24826
CODEC
field_236201_a_
private static final org.apache.logging.log4j.Logger
b
LOGGER
field_24525
LOGGER
field_236203_c_
private final long
c
seed
field_24526
seed
field_236205_e_
seed
private final boolean
d
generateFeatures
field_24527
generateStructures
field_236206_f_
private final boolean
e
generateBonusChest
field_24528
bonusChest
field_236207_g_
private final MappedRegistry<LevelStem>
f
dimensions
field_24827
options
field_236208_h_
private final Optional<String>
g
legacyCustomOptions
field_24532
legacyCustomOptions
field_236209_i_

Constructor summary

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

Method summary

Modifier and TypeMethod
private com.mojang.serialization.DataResult<WorldGenSettings>
m()
guardExperimental()
method_28610()
method_28610()
func_236233_n_()
private boolean
n()
stable()
method_28611()
method_28611()
func_236234_o_()
public static WorldGenSettings
a(gn arg0)
demoSettings(RegistryAccess arg0)
method_31112(class_5455 arg0)
method_31112(DynamicRegistryManager arg0)
func_242752_a(DynamicRegistries arg0)
public static WorldGenSettings
a(gm<cha> arg0, gm<bss> arg1, gm<chm> 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)
func_242751_a(Registry<DimensionType> arg0, Registry<Biome> arg1, Registry<DimensionSettings> arg2)
public static NoiseBasedChunkGenerator
a(gm<bss> arg0, gm<chm> 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)
func_242750_a(Registry<Biome> arg0, Registry<DimensionSettings> arg1, long arg2)
public long
a()
seed()
method_28028()
getSeed()
func_236221_b_()
getSeed()
public boolean
b()
generateFeatures()
method_28029()
shouldGenerateStructures()
func_236222_c_()
shouldGenerateMapFeatures()
public boolean
c()
generateBonusChest()
method_28030()
hasBonusChest()
func_236223_d_()
public static MappedRegistry<LevelStem>
a(gm<cha> arg0, gi<chb> arg1, cfv 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)
method_28608(Registry<DimensionType> arg0, SimpleRegistry<DimensionOptions> arg1, ChunkGenerator arg2)
func_242749_a(Registry<DimensionType> arg0, SimpleRegistry<Dimension> arg1, ChunkGenerator arg2)
public static MappedRegistry<LevelStem>
a(gi<chb> arg0, Supplier<cha> arg1, cfv arg2)
withOverworld(MappedRegistry<LevelStem> arg0, Supplier<DimensionType> arg1, ChunkGenerator arg2)
method_29962(class_2370<class_5363> arg0, Supplier<class_2874> arg1, class_2794 arg2)
method_29962(SimpleRegistry<DimensionOptions> arg0, Supplier<DimensionType> arg1, ChunkGenerator arg2)
func_241520_a_(SimpleRegistry<Dimension> arg0, Supplier<DimensionType> arg1, ChunkGenerator arg2)
public MappedRegistry<LevelStem>
d()
dimensions()
method_28609()
getDimensions()
func_236224_e_()
public ChunkGenerator
e()
overworld()
method_28032()
getChunkGenerator()
func_236225_f_()
getChunkGenerator()
public com.google.common.collect.ImmutableSet<ResourceKey<Level>>
f()
levels()
method_29575()
getWorlds()
func_236226_g_()
public boolean
g()
isDebug()
method_28033()
isDebugWorld()
func_236227_h_()
isDebugWorld()
public boolean
h()
isFlatWorld()
method_28034()
isFlatWorld()
func_236228_i_()
isFlatWorld()
public WorldGenSettings
j()
withBonusChest()
method_28036()
withBonusChest()
func_236230_k_()
public static WorldGenSettings
a(gn arg0, Properties arg1)
create(RegistryAccess arg0, Properties arg1)
method_28021(class_5455 arg0, Properties arg1)
fromProperties(DynamicRegistryManager arg0, Properties arg1)
func_242753_a(DynamicRegistries arg0, Properties arg1)
public boolean
i()
isOldCustomizedWorld()
method_28035()
isLegacyCustomizedType()
func_236229_j_()
public WorldGenSettings
k()
withFeaturesToggled()
method_28037()
toggleGenerateStructures()
func_236231_l_()
public WorldGenSettings
l()
withBonusChestToggled()
method_28038()
toggleBonusChest()
func_236232_m_()
public WorldGenSettings
a(boolean arg0, OptionalLong arg1)
withSeed(boolean arg0, OptionalLong arg1)
method_28024(boolean arg0, OptionalLong arg1)
withHardcore(boolean hardcore, OptionalLong seed)
func_236220_a_(boolean arg0, OptionalLong arg1)