Interface NoiseGeneratorConfig
- All Superinterfaces:
ChunkGeneratorConfig, DataPackSerializable, DefaultedRegistryValue<NoiseGeneratorConfig>
@CatalogedBy(NoiseGeneratorConfigs.class)
public interface NoiseGeneratorConfig
extends ChunkGeneratorConfig, DefaultedRegistryValue<NoiseGeneratorConfig>, DataPackSerializable
Noise generator config used in
configurable chunk generators.-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbooleanaquifers()Whether aquifers are generated.static NoiseGeneratorConfig.Builderbuilder()Creates a newNoiseGeneratorConfig.Builderto create aNoiseGeneratorConfig.The default block used for terrain.The default fluid used for seas and lakes.booleanWhether generation uses the legacy random source.booleanWhether mobs spawn during generation.The noise configuration parameters.The noise router.booleanoreVeins()Whether ore veins are generated.intseaLevel()The sea level.The list of biome attributes to allow the initialWorldProperties.spawnPosition()in.The surface rules.Methods inherited from interface DataPackSerializable
toDataPackMethods inherited from interface DefaultedRegistryValue
asDefaultedReference, findKey, key
-
Method Details
-
builder
Creates a newNoiseGeneratorConfig.Builderto create aNoiseGeneratorConfig.- Returns:
- The new builder
-
noiseConfig
-
noiseRouter
-
spawnTargets
List<BiomeAttributes> spawnTargets()The list of biome attributes to allow the initialWorldProperties.spawnPosition()in.In vanilla this is only set for the overworld.
- Returns:
- The biome attributes to determine the spawn position
-
surfaceRule
-
defaultBlock
-
defaultFluid
-
seaLevel
int seaLevel()The sea level.- Returns:
- the sea level.
-
aquifers
boolean aquifers()Whether aquifers are generated.- Returns:
- true when aquifers are generated.
-
oreVeins
boolean oreVeins()Whether ore veins are generated.- Returns:
- true when the ore veins are generated.
-
legacyRandomSource
boolean legacyRandomSource()Whether generation uses the legacy random source.As of Minecraft 1.19 the legacy random source is still used for nether and end generation.
- Returns:
- true when using the legacy random source.
-
mobGeneration
boolean mobGeneration()Whether mobs spawn during generation.- Returns:
- true when mobs spawn during generation.
-