public static interface DeadBush.Builder extends ResettableBuilder<DeadBush,DeadBush.Builder>
DeadBush
populators.Modifier and Type | Method and Description |
---|---|
DeadBush |
build()
Builds a new instance of a
DeadBush populator with the
settings set within the builder. |
default DeadBush.Builder |
perChunk(int count)
Sets the number of bushes to attempt to spawn per chunk, must be
greater than zero.
|
DeadBush.Builder |
perChunk(VariableAmount count)
Sets the number of bushes to attempt to spawn per chunk, must be
greater than zero.
|
from, reset
DeadBush.Builder perChunk(VariableAmount count)
count
- The new amount of bushes to spawndefault DeadBush.Builder perChunk(int count)
count
- The new amount of bushes to spawnDeadBush build() throws IllegalStateException
DeadBush
populator with the
settings set within the builder.IllegalStateException
- If there are any settings left unset
which do not have default values