Modifier and Type | Interface and Description |
---|---|
static interface |
IceSpike.Builder
A builder for constructing
IceSpike populators. |
Modifier and Type | Method and Description |
---|---|
static IceSpike.Builder |
builder()
Creates a new
IceSpike.Builder to build a IceSpike populator. |
VariableAmount |
getExtremeSpikeIncrease()
Gets the height increase of the extreme spikes.
|
double |
getExtremeSpikeProbability()
Gets the probability of the spike much larger than normal.
|
VariableAmount |
getHeight()
Gets the base height of the spike.
|
VariableAmount |
getSpikesPerChunk()
Gets the number of spikes to generate per chunk.
|
default void |
setExtremeSpikeIncrease(int increase)
Sets the height increase of the extreme spikes.
|
void |
setExtremeSpikeIncrease(VariableAmount increase)
Sets the height increase of the extreme spikes.
|
void |
setExtremeSpikeProbability(double p)
Gets the probability of the spike much larger than normal.
|
default void |
setHeight(int height)
Sets the base height of the spike.
|
void |
setHeight(VariableAmount height)
Sets the base height of the spike.
|
default void |
setSpikesPerChunk(int count)
Sets the number of spikes to attempt to generate per chunk.
|
void |
setSpikesPerChunk(VariableAmount count)
Sets the number of spikes to attempt to generate per chunk.
|
static IceSpike.Builder builder()
IceSpike.Builder
to build a IceSpike
populator.VariableAmount getSpikesPerChunk()
void setSpikesPerChunk(VariableAmount count)
count
- The new number of spikesdefault void setSpikesPerChunk(int count)
count
- The new number of spikesVariableAmount getHeight()
void setHeight(VariableAmount height)
height
- The new base heightdefault void setHeight(int height)
height
- The new base heightdouble getExtremeSpikeProbability()
void setExtremeSpikeProbability(double p)
p
- The new spawn probabilityVariableAmount getExtremeSpikeIncrease()
void setExtremeSpikeIncrease(VariableAmount increase)
increase
- The new height increasedefault void setExtremeSpikeIncrease(int increase)
increase
- The new height increase