Modifier and Type | Interface and Description |
---|---|
static interface |
WaterLily.Builder
A builder for constructing
WaterLily populators. |
Modifier and Type | Method and Description |
---|---|
static WaterLily.Builder |
builder()
Creates a new
WaterLily.Builder to build a WaterLily populator. |
VariableAmount |
getWaterLilyPerChunk()
Gets the number of water lilies to attempt to spawn per chunk, must be
greater than zero.
|
default void |
setWaterLilyPerChunk(int count)
Sets the number of water lilies to attempt to spawn per chunk, must be
greater than zero.
|
void |
setWaterLilyPerChunk(VariableAmount count)
Sets the number of water lilies to attempt to spawn per chunk, must be
greater than zero.
|
static WaterLily.Builder builder()
WaterLily.Builder
to build a WaterLily
populator.VariableAmount getWaterLilyPerChunk()
void setWaterLilyPerChunk(VariableAmount count)
count
- The new amount to spawndefault void setWaterLilyPerChunk(int count)
count
- The new amount to spawn