public static interface Glowstone.Builder extends ResettableBuilder<Glowstone,Glowstone.Builder>
Glowstone
populators.Modifier and Type | Method and Description |
---|---|
default Glowstone.Builder |
blocksPerCluster(int attempts)
Sets the amount of glowstone to attempt to spawn per cluster, must be
greater than zero.
|
Glowstone.Builder |
blocksPerCluster(VariableAmount attempts)
Sets the amount of glowstone to attempt to spawn per cluster, must be
greater than zero.
|
Glowstone |
build()
Builds a new instance of a
Glowstone populator with the
settings set within the builder. |
default Glowstone.Builder |
clusterHeight(int height)
Sets the height of the glowstone cluster.
|
Glowstone.Builder |
clusterHeight(VariableAmount height)
Sets the height of the glowstone cluster.
|
Glowstone.Builder |
height(VariableAmount height)
Sets the height that the cluster may generate at.
|
default Glowstone.Builder |
perChunk(int count)
Sets the number of clusters to attempt to spawn per chunk, must be
greater than zero.
|
Glowstone.Builder |
perChunk(VariableAmount count)
Sets the number of clusters to attempt to spawn per chunk, must be
greater than zero.
|
from, reset
Glowstone.Builder perChunk(VariableAmount count)
count
- The new amount to spawndefault Glowstone.Builder perChunk(int count)
count
- The new amount to spawnGlowstone.Builder blocksPerCluster(VariableAmount attempts)
attempts
- The new amount to spawndefault Glowstone.Builder blocksPerCluster(int attempts)
attempts
- The new amount to spawnGlowstone.Builder clusterHeight(VariableAmount height)
height
- The new cluster heightdefault Glowstone.Builder clusterHeight(int height)
height
- The new cluster heightGlowstone.Builder height(VariableAmount height)
height
- The new heightGlowstone build() throws IllegalStateException
Glowstone
populator with the
settings set within the builder.IllegalStateException
- If there are any settings left unset
which do not have default values