Class WorldGenSettings
java.lang.Object
net.minecraft.world.level.levelgen.WorldGenSettings
-
Field Summary
Modifier and TypeFieldDescriptionstatic com.mojang.serialization.Codec<WorldGenSettings>
private MappedRegistry<LevelStem>
private boolean
private boolean
private static org.apache.logging.log4j.Logger
private long
-
Constructor Summary
ModifierConstructorDescriptionWorldGenSettings(long p_64609_, boolean p_64610_, boolean p_64611_, MappedRegistry<LevelStem> p_64612_)
private
WorldGenSettings(long p_64614_, boolean p_64615_, boolean p_64616_, MappedRegistry<LevelStem> p_64617_, Optional<String> p_64618_)
-
Method Summary
Modifier and TypeMethodDescriptionstatic WorldGenSettings
create(RegistryAccess p_64648_, Properties p_64649_)
static WorldGenSettings
demoSettings(RegistryAccess p_64646_)
boolean
boolean
private com.mojang.serialization.DataResult<WorldGenSettings>
boolean
isDebug()
boolean
boolean
com.google.common.collect.ImmutableSet<ResourceKey<Level>>
levels()
static WorldGenSettings
makeDefault(Registry<DimensionType> p_64642_, Registry<Biome> p_64643_, Registry<NoiseGeneratorSettings> p_64644_)
static NoiseBasedChunkGenerator
makeDefaultOverworld(Registry<Biome> p_64638_, Registry<NoiseGeneratorSettings> p_64639_, long p_64640_)
long
seed()
private boolean
stable()
static MappedRegistry<LevelStem>
withOverworld(MappedRegistry<LevelStem> p_64628_, Supplier<DimensionType> p_64629_, ChunkGenerator p_64630_)
static MappedRegistry<LevelStem>
withOverworld(Registry<DimensionType> p_64634_, MappedRegistry<LevelStem> p_64635_, ChunkGenerator p_64636_)
withSeed(boolean p_64655_, OptionalLong p_64656_)
-
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
-
WorldGenSettings
public WorldGenSettings(long p_64609_, boolean p_64610_, boolean p_64611_, MappedRegistry<LevelStem> p_64612_) -
WorldGenSettings
private WorldGenSettings(long p_64614_, boolean p_64615_, boolean p_64616_, MappedRegistry<LevelStem> p_64617_, Optional<String> p_64618_)
-
-
Method Details
-
guardExperimental
-
stable
private boolean stable() -
demoSettings
-
makeDefault
public static WorldGenSettings makeDefault(Registry<DimensionType> p_64642_, Registry<Biome> p_64643_, Registry<NoiseGeneratorSettings> p_64644_) -
makeDefaultOverworld
public static NoiseBasedChunkGenerator makeDefaultOverworld(Registry<Biome> p_64638_, Registry<NoiseGeneratorSettings> p_64639_, long p_64640_) -
seed
public long seed() -
generateFeatures
public boolean generateFeatures() -
generateBonusChest
public boolean generateBonusChest() -
withOverworld
public static MappedRegistry<LevelStem> withOverworld(Registry<DimensionType> p_64634_, MappedRegistry<LevelStem> p_64635_, ChunkGenerator p_64636_) -
withOverworld
public static MappedRegistry<LevelStem> withOverworld(MappedRegistry<LevelStem> p_64628_, Supplier<DimensionType> p_64629_, ChunkGenerator p_64630_) -
dimensions
-
overworld
-
levels
-
isDebug
public boolean isDebug() -
isFlatWorld
public boolean isFlatWorld() -
isOldCustomizedWorld
public boolean isOldCustomizedWorld() -
withBonusChest
-
withFeaturesToggled
-
withBonusChestToggled
-
create
-
withSeed
-