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