public static interface BiomeGenerationSettings.Builder extends ResettableBuilder<BiomeGenerationSettings,BiomeGenerationSettings.Builder>
BiomeGenerationSettings
s.Modifier and Type | Method and Description |
---|---|
BiomeGenerationSettings |
build()
Creates a new set of
BiomeGenerationSettings s. |
BiomeGenerationSettings.Builder |
generationPopulators(GenerationPopulator... genpop)
Sets the generation populators.
|
BiomeGenerationSettings.Builder |
generationPopulators(Iterable<GenerationPopulator> genpop)
Sets the generation populators.
|
BiomeGenerationSettings.Builder |
groundCover(GroundCoverLayer... coverLayers)
Sets the ground cover layers.
|
BiomeGenerationSettings.Builder |
groundCover(Iterable<GroundCoverLayer> coverLayers)
Sets the ground cover layers.
|
BiomeGenerationSettings.Builder |
maxHeight(float height)
Sets the max height for the biome.
|
BiomeGenerationSettings.Builder |
minHeight(float height)
Sets the min height for the biome.
|
BiomeGenerationSettings.Builder |
populators(Iterable<Populator> populators)
Sets the populators.
|
BiomeGenerationSettings.Builder |
populators(Populator... populators)
Sets the populators.
|
from, reset
BiomeGenerationSettings.Builder minHeight(float height)
height
- The min heightBiomeGenerationSettings.Builder maxHeight(float height)
height
- The max heightBiomeGenerationSettings.Builder groundCover(GroundCoverLayer... coverLayers)
coverLayers
- The ground cover layersBiomeGenerationSettings.Builder groundCover(Iterable<GroundCoverLayer> coverLayers)
coverLayers
- The ground cover layersBiomeGenerationSettings.Builder generationPopulators(GenerationPopulator... genpop)
genpop
- The generation populatorsBiomeGenerationSettings.Builder generationPopulators(Iterable<GenerationPopulator> genpop)
genpop
- The generation populatorsBiomeGenerationSettings.Builder populators(Populator... populators)
populators
- The populatorsBiomeGenerationSettings.Builder populators(Iterable<Populator> populators)
populators
- The populatorsBiomeGenerationSettings build() throws IllegalStateException
BiomeGenerationSettings
s.IllegalStateException
- If any required values were left unset