Modifier and Type | Method and Description |
---|---|
Flowers.Builder |
biomeDependant(boolean state)
Sets whether this populator will ignore the set tile and default to
the biome's flower type.
|
Flowers |
build()
Builds a new instance of a
Flowers populator with the
settings set within the builder. |
Flowers.Builder |
perChunk(int count)
Sets the number of flowers to attempt to spawn per chunk, must be
greater than zero.
|
Flowers.Builder |
reset()
Resets this builder to the default values.
|
Flowers.Builder |
type(PlantType type)
Sets the plant type for this populator to spawn.
|
Flowers.Builder perChunk(int count)
count
- The new amount to spawnFlowers.Builder biomeDependant(boolean state)
state
- The new biome dependent stateFlowers.Builder type(PlantType type)
Flowers.isBiomeDependent()
flag to false.type
- The plant type to spawnFlowers.Builder reset()
Flowers build() throws IllegalStateException
Flowers
populator with the
settings set within the builder.IllegalStateException
- If there are any settings left unset
which do not have default values