Interface NoiseGeneratorConfig
- All Superinterfaces:
ChunkGeneratorConfig
@CatalogedBy(NoiseGeneratorConfigs.class)
public interface NoiseGeneratorConfig
extends ChunkGeneratorConfig
Noise generator config used in
configurable chunk generators
.-
Method Summary
Modifier and TypeMethodDescriptionboolean
aquifers()
Whether aquifers are generated.builder()
The default block used for terrain.The default fluid used for seas and lakes.boolean
Whether generation uses the legacy random source.boolean
Whether mobs spawn during generation.The noise configuration parameters.The noise router.boolean
oreVeins()
Whether ore veins are generated.int
seaLevel()
The sea level.The list of biome attributes to allow the initialWorldProperties.spawnPosition()
in.The surface rules.
-
Method Details
-
builder
-
noiseConfig
NoiseConfig noiseConfig()The noise configuration parameters.- Returns:
- the noise configuration.
-
noiseRouter
NoiseRouter noiseRouter()The noise router.- Returns:
- The noise router.
-
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
SurfaceRule surfaceRule()The surface rules.- Returns:
- the surface rules.
-
defaultBlock
BlockState defaultBlock()The default block used for terrain.- Returns:
- the default block.
-
defaultFluid
BlockState defaultFluid()The default fluid used for seas and lakes.- Returns:
- the default fluid.
-
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.
-