Modifier and Type | Interface and Description |
---|---|
static interface |
Glowstone.Builder
A builder for constructing
Glowstone populators. |
Modifier and Type | Method and Description |
---|---|
static Glowstone.Builder |
builder()
Creates a new
Glowstone.Builder to build a Glowstone populator. |
VariableAmount |
getAttemptsPerCluster()
Gets the amount of glowstone to attempt to spawn per cluster, must be
greater than zero.
|
VariableAmount |
getClusterHeight()
Gets the height of the glowstone cluster.
|
VariableAmount |
getClustersPerChunk()
Gets the number of clusters to attempt to spawn per chunk, must be
greater than zero.
|
VariableAmount |
getHeight()
Gets the height that the cluster may generate at.
|
default void |
setAttemptsPerCluster(int attempts)
Sets the amount of glowstone to attempt to spawn per cluster, must be
greater than zero.
|
void |
setAttemptsPerCluster(VariableAmount attempts)
Sets the amount of glowstone to attempt to spawn per cluster, must be
greater than zero.
|
default void |
setClusterHeight(int height)
Sets the height of the glowstone cluster.
|
void |
setClusterHeight(VariableAmount height)
Sets the height of the glowstone cluster.
|
default void |
setClustersPerChunk(int count)
Sets the number of clusters to attempt to spawn per chunk, must be
greater than zero.
|
void |
setClustersPerChunk(VariableAmount count)
Sets the number of clusters to attempt to spawn per chunk, must be
greater than zero.
|
void |
setHeight(VariableAmount height)
Sets the height that the cluster may generate at.
|
static Glowstone.Builder builder()
Glowstone.Builder
to build a Glowstone
populator.VariableAmount getClustersPerChunk()
void setClustersPerChunk(VariableAmount count)
count
- The new amount to spawndefault void setClustersPerChunk(int count)
count
- The new amount to spawnVariableAmount getAttemptsPerCluster()
void setAttemptsPerCluster(VariableAmount attempts)
attempts
- The new amount to spawndefault void setAttemptsPerCluster(int attempts)
attempts
- The new amount to spawnVariableAmount getClusterHeight()
void setClusterHeight(VariableAmount height)
height
- The new cluster heightdefault void setClusterHeight(int height)
height
- The new cluster heightVariableAmount getHeight()
void setHeight(VariableAmount height)
height
- The new height