public static interface IcePath.Builder extends ResettableBuilder<IcePath,IcePath.Builder>
IcePath
populators.Modifier and Type | Method and Description |
---|---|
IcePath |
build()
Builds a new instance of a
IcePath populator with the
settings set within the builder. |
default IcePath.Builder |
perChunk(int sections)
Sets the number of sections to attempt to spawn per chunk, must be
greater than zero.
|
IcePath.Builder |
perChunk(VariableAmount sections)
Sets the number of sections to attempt to spawn per chunk, must be
greater than zero.
|
default IcePath.Builder |
radius(double radius)
Sets the radius of the path to spawn, cannot be negative.
|
IcePath.Builder |
radius(VariableAmount radius)
Sets the radius of the path to spawn, cannot be negative.
|
from, reset
IcePath.Builder radius(VariableAmount radius)
radius
- The new path radiusdefault IcePath.Builder radius(double radius)
radius
- The new path radiusIcePath.Builder perChunk(VariableAmount sections)
sections
- The new amount to spawndefault IcePath.Builder perChunk(int sections)
sections
- The new amount to spawnIcePath build() throws IllegalStateException
IcePath
populator with the
settings set within the builder.IllegalStateException
- If there are any settings left unset
which do not have default values