Modifier and Type | Interface and Description |
---|---|
static interface |
Pumpkin.Builder
A builder for constructing
Pumpkin populators. |
Modifier and Type | Method and Description |
---|---|
int |
getPumpkinChance()
Gets the chance of a pumpkin patch spawning within a chunk.
|
int |
getPumpkinsPerChunk()
Gets the number of pumpkins to attempt to spawn per patch, must be
greater than zero.
|
void |
setPumpkinChance(int chance)
Sets the chance of a pumpkin patch spawning within a chunk.
|
void |
setPumpkinsPerChunk(int count)
Sets the number of pumpkins to attempt to spawn per patch, must be
greater than zero.
|
int getPumpkinsPerChunk()
void setPumpkinsPerChunk(int count)
count
- The new number to spawnint getPumpkinChance()
void setPumpkinChance(int chance)
chance
- The new chance of a patch spawning