Modifier and Type | Method and Description |
---|---|
IcePath |
build()
Builds a new instance of a
IcePath populator with the
settings set within the builder. |
IcePath.Builder |
perChunk(int sections)
Sets the number of sections to attempt to spawn per chunk, must be
greater than zero.
|
IcePath.Builder |
radius(int radius)
Sets the radius of the path to spawn, cannot be negative.
|
IcePath.Builder |
reset()
Resets this builder to the default values.
|
IcePath.Builder radius(int radius)
radius
- The new path radiusIcePath.Builder perChunk(int sections)
sections
- The new amount to spawnIcePath.Builder reset()
IcePath 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