Modifier and Type | Interface and Description |
---|---|
static interface |
Reed.Builder
A builder for constructing
Reed populators. |
Modifier and Type | Method and Description |
---|---|
static Reed.Builder |
builder()
Creates a new
Reed.Builder to build a Reed populator. |
VariableAmount |
getReedHeight()
Gets the height of the reeds to generate.
|
VariableAmount |
getReedsPerChunk()
Gets the number of reeds to attempt to spawn per chunk, must be greater
than zero.
|
void |
setReedHeight(VariableAmount height)
Sets the height of the reeds to generate.
|
default void |
setReedsPerChunk(int count)
Sets the number of reeds to attempt to spawn per chunk, must be greater
than zero.
|
void |
setReedsPerChunk(VariableAmount count)
Sets the number of reeds to attempt to spawn per chunk, must be greater
than zero.
|
static Reed.Builder builder()
Reed.Builder
to build a Reed
populator.VariableAmount getReedsPerChunk()
void setReedsPerChunk(VariableAmount count)
count
- The new amount to spawndefault void setReedsPerChunk(int count)
count
- The new amount to spawnVariableAmount getReedHeight()
void setReedHeight(VariableAmount height)
height
- The new reed height