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