Modifier and Type | Interface and Description |
---|---|
static interface |
Shrub.Builder
A builder for constructing
Shrub populators. |
Modifier and Type | Method and Description |
---|---|
int |
getShrubsPerChunk()
Gets the number of shrubs to attempt to spawn per chunk, must be greater
than zero.
|
ShrubType |
getType()
Gets the
ShrubType to place. |
void |
setShrubsPerChunk(int count)
Sets the number of shrubs to attempt to spawn per chunk, must be greater
than zero.
|
void |
setType(ShrubType type)
Sets the
ShrubType to place. |
void setType(ShrubType type)
ShrubType
to place.type
- The new shrub typeint getShrubsPerChunk()
void setShrubsPerChunk(int count)
count
- The new amount of shrubs to spawn