public interface BiomeGenerationSettings
Modifier and Type | Interface and Description |
---|---|
static interface |
BiomeGenerationSettings.Builder
A builder for
BiomeGenerationSettings s. |
Modifier and Type | Method and Description |
---|---|
static BiomeGenerationSettings.Builder |
builder()
Gets a new builder for creating new BiomeGenerationSettings.
|
BiomeGenerationSettings |
copy()
Returns a new biome generation settings which is a copy of this set of
generation settings at this point in time.
|
List<GenerationPopulator> |
getGenerationPopulators()
Gets a mutable list of
GenerationPopulator s. |
List<GenerationPopulator> |
getGenerationPopulators(Class<? extends GenerationPopulator> type)
Gets an immutable list of
GenerationPopulator s matching the given
class type. |
List<GroundCoverLayer> |
getGroundCoverLayers()
Gets a mutable ordered list of
GroundCoverLayer s. |
float |
getMaxHeight()
Gets the maximum terrain height of this biome.
|
float |
getMinHeight()
Gets the minimum terrain height of this biome.
|
List<Populator> |
getPopulators()
Returns a mutable list of
Populator s specific to this biome. |
<T extends Populator> |
getPopulators(Class<T> type)
Returns an immutable list of
Populator s specific to this biome
which match the given class type. |
void |
setMaxHeight(float height)
Sets the maximum terrain height of this biome.
|
void |
setMinHeight(float height)
Sets the minimum terrain height of this biome.
|
static BiomeGenerationSettings.Builder builder()
float getMinHeight()
void setMinHeight(float height)
height
- The new min heightfloat getMaxHeight()
void setMaxHeight(float height)
height
- The new max heightList<GroundCoverLayer> getGroundCoverLayers()
GroundCoverLayer
s. These layers
will be applied to the base terrain during the generation phase starting
at the topmost stone block in each column.List<GenerationPopulator> getGenerationPopulators()
GenerationPopulator
s. These populators
work strictly on a single chunk. They will be executed directly after the
ground cover layers
are applied. These
generation populators are typically used to generate large terrain
features, like caves and ravines.List<GenerationPopulator> getGenerationPopulators(Class<? extends GenerationPopulator> type)
GenerationPopulator
s matching the given
class type.type
- the generation populator type to returnList<Populator> getPopulators()
Populator
s specific to this biome.
Changing this list will affect population of all new chunks.<T extends Populator> List<T> getPopulators(Class<T> type)
Populator
s specific to this biome
which match the given class type.T
- The populator typetype
- the populator type to returnBiomeGenerationSettings copy()