Interface ChunkGenerator.Factory
- Enclosing interface:
ChunkGenerator
public static interface ChunkGenerator.Factory
-
Method Summary
Modifier and TypeMethodDescriptionflat
(FlatGeneratorConfig config) Creates a chunk generator based on given configuration.noise
(BiomeProvider provider, NoiseGeneratorConfig config) Creates a chunk generator bases on given biome provider and configurationCreates a chunk generator like the vanillaWorldTypes.OVERWORLD
.theEnd()
Creates a chunk generator like the vanillaWorldTypes.THE_END
.Creates a chunk generator like the vanillaWorldTypes.THE_NETHER
.
-
Method Details
-
flat
Creates a chunk generator based on given configuration.- Parameters:
config
- The flat generator configuration- Returns:
- The new chunk generator
-
noise
ConfigurableChunkGenerator<NoiseGeneratorConfig> noise(BiomeProvider provider, NoiseGeneratorConfig config) Creates a chunk generator bases on given biome provider and configuration- Parameters:
provider
- The biome providerconfig
- The noise generator configuration- Returns:
- The new chunk generator
-
overworld
ConfigurableChunkGenerator<NoiseGeneratorConfig> overworld()Creates a chunk generator like the vanillaWorldTypes.OVERWORLD
.- Returns:
- The new chunk generator
-
theNether
ConfigurableChunkGenerator<NoiseGeneratorConfig> theNether()Creates a chunk generator like the vanillaWorldTypes.THE_NETHER
.- Returns:
- The new chunk generator
-
theEnd
Creates a chunk generator like the vanillaWorldTypes.THE_END
.- Returns:
- The new chunk generator
-