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