Modifier and Type | Method and Description |
---|---|
WaterLily |
build()
Builds a new instance of a
WaterLily populator with the
settings set within the builder. |
WaterLily.Builder |
perChunk(int count)
Sets the number of water lilies to attempt to spawn per chunk, must
be greater than zero.
|
WaterLily.Builder |
reset()
Resets this builder to the default values.
|
WaterLily.Builder perChunk(int count)
count
- The new amount to spawnWaterLily.Builder reset()
WaterLily 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