Interface ChunkGenerator
- All Known Subinterfaces:
ConfigurableChunkGenerator<T>
public interface ChunkGenerator
A chunk generator.
Vanilla builtin generators include
- configurable flat generator see FlatGeneratorConfig
- configurable noise generator see NoiseGeneratorConfig
.
Other chunk generators may be provided by third parties and may be obtained from
- ServerWorld.generator()
- WorldTemplate.generator()
- ChunkGenerator.Factory.fromDataPack(org.spongepowered.api.data.persistence.DataView)
using WorldTemplate
data.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the biome provider.flat
(FlatGeneratorConfig config) noise
(BiomeProvider provider, NoiseGeneratorConfig config) theEnd()
-
Method Details
-
flat
-
noise
static ConfigurableChunkGenerator<NoiseGeneratorConfig> noise(BiomeProvider provider, NoiseGeneratorConfig config) -
overworld
-
theNether
-
theEnd
-
biomeProvider
BiomeProvider biomeProvider()Returns the biome provider.- Returns:
- The biome provider
-