Modifier and Type | Interface and Description |
---|---|
static interface |
IcePath.Builder
A builder for constructing
IcePath populators. |
Modifier and Type | Method and Description |
---|---|
static IcePath.Builder |
builder()
Creates a new
IcePath.Builder to build a IcePath populator. |
VariableAmount |
getRadius()
Gets the radius of the path to spawn.
|
VariableAmount |
getSectionsPerChunk()
Gets the number of sections to attempt to spawn per chunk, must be
greater than zero.
|
default void |
setRadius(double radius)
Sets the radius of the path to spawn, cannot be negative.
|
void |
setRadius(VariableAmount radius)
Sets the radius of the path to spawn, cannot be negative.
|
default void |
setSectionsPerChunk(int sections)
Sets the number of sections to attempt to spawn per chunk, must be
greater than zero.
|
void |
setSectionsPerChunk(VariableAmount sections)
Sets the number of sections to attempt to spawn per chunk, must be
greater than zero.
|
static IcePath.Builder builder()
IcePath.Builder
to build a IcePath
populator.VariableAmount getRadius()
void setRadius(VariableAmount radius)
radius
- The new path radiusdefault void setRadius(double radius)
radius
- The new path radiusVariableAmount getSectionsPerChunk()
void setSectionsPerChunk(VariableAmount sections)
sections
- The new amount to spawndefault void setSectionsPerChunk(int sections)
sections
- The new amount to spawn