Package net.minecraft.world.gen.settings
Class DimensionGeneratorSettings
java.lang.Object
net.minecraft.world.gen.settings.DimensionGeneratorSettings
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<DimensionGeneratorSettings>
private final SimpleRegistry<Dimension>
private final boolean
private final boolean
private static final org.apache.logging.log4j.Logger
private final long
-
Constructor Summary
ModifierConstructorDescriptionDimensionGeneratorSettings
(long p_i231914_1_, boolean p_i231914_3_, boolean p_i231914_4_, SimpleRegistry<Dimension> p_i231914_5_) private
DimensionGeneratorSettings
(long p_i231915_1_, boolean p_i231915_3_, boolean p_i231915_4_, SimpleRegistry<Dimension> p_i231915_5_, Optional<String> p_i231915_6_) -
Method Summary
Modifier and TypeMethodDescriptionstatic DimensionGeneratorSettings
create
(DynamicRegistries p_242753_0_, Properties p_242753_1_) static DimensionGeneratorSettings
demoSettings
(DynamicRegistries p_242752_0_) boolean
boolean
private com.mojang.serialization.DataResult<DimensionGeneratorSettings>
boolean
isDebug()
boolean
boolean
com.google.common.collect.ImmutableSet<RegistryKey<World>>
levels()
static DimensionGeneratorSettings
makeDefault
(Registry<DimensionType> p_242751_0_, Registry<Biome> p_242751_1_, Registry<DimensionSettings> p_242751_2_) static NoiseChunkGenerator
makeDefaultOverworld
(Registry<Biome> p_242750_0_, Registry<DimensionSettings> p_242750_1_, long p_242750_2_) long
seed()
private boolean
stable()
static SimpleRegistry<Dimension>
withOverworld
(Registry<DimensionType> p_242749_0_, SimpleRegistry<Dimension> p_242749_1_, ChunkGenerator p_242749_2_) static SimpleRegistry<Dimension>
withOverworld
(SimpleRegistry<Dimension> p_241520_0_, Supplier<DimensionType> p_241520_1_, ChunkGenerator p_241520_2_) withSeed
(boolean p_236220_1_, OptionalLong p_236220_2_)
-
Field Details
-
CODEC
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER -
seed
private final long seed -
generateFeatures
private final boolean generateFeatures -
generateBonusChest
private final boolean generateBonusChest -
dimensions
-
legacyCustomOptions
-
-
Constructor Details
-
DimensionGeneratorSettings
public DimensionGeneratorSettings(long p_i231914_1_, boolean p_i231914_3_, boolean p_i231914_4_, SimpleRegistry<Dimension> p_i231914_5_) -
DimensionGeneratorSettings
private DimensionGeneratorSettings(long p_i231915_1_, boolean p_i231915_3_, boolean p_i231915_4_, SimpleRegistry<Dimension> p_i231915_5_, Optional<String> p_i231915_6_)
-
-
Method Details
-
guardExperimental
-
stable
private boolean stable() -
demoSettings
-
makeDefault
public static DimensionGeneratorSettings makeDefault(Registry<DimensionType> p_242751_0_, Registry<Biome> p_242751_1_, Registry<DimensionSettings> p_242751_2_) -
makeDefaultOverworld
public static NoiseChunkGenerator makeDefaultOverworld(Registry<Biome> p_242750_0_, Registry<DimensionSettings> p_242750_1_, long p_242750_2_) -
seed
public long seed() -
generateFeatures
public boolean generateFeatures() -
generateBonusChest
public boolean generateBonusChest() -
withOverworld
public static SimpleRegistry<Dimension> withOverworld(Registry<DimensionType> p_242749_0_, SimpleRegistry<Dimension> p_242749_1_, ChunkGenerator p_242749_2_) -
withOverworld
public static SimpleRegistry<Dimension> withOverworld(SimpleRegistry<Dimension> p_241520_0_, Supplier<DimensionType> p_241520_1_, ChunkGenerator p_241520_2_) -
dimensions
-
overworld
-
levels
-
isDebug
public boolean isDebug() -
isFlatWorld
public boolean isFlatWorld() -
isOldCustomizedWorld
public boolean isOldCustomizedWorld() -
withBonusChest
-
withFeaturesToggled
-
withBonusChestToggled
-
create
public static DimensionGeneratorSettings create(DynamicRegistries p_242753_0_, Properties p_242753_1_) -
withSeed
-