public static interface IceSpike.Builder extends ResettableBuilder<IceSpike,IceSpike.Builder>
IceSpike
populators.Modifier and Type | Method and Description |
---|---|
IceSpike |
build()
Builds a new instance of a
IceSpike populator with the
settings set within the builder. |
default IceSpike.Builder |
extremeSpikeIncrease(int increase)
Sets the base height increase of the extreme spikes.
|
IceSpike.Builder |
extremeSpikeIncrease(VariableAmount increase)
Sets the base height increase of the extreme spikes.
|
IceSpike.Builder |
extremeSpikeProbability(double p)
Gets the probability of the spike much larger than normal.
|
default IceSpike.Builder |
height(int height)
Sets the base height of the spike.
|
IceSpike.Builder |
height(VariableAmount height)
Sets the base height of the spike.
|
default IceSpike.Builder |
spikesPerChunk(int count)
Sets the number of spikes to generate per chunk.
|
IceSpike.Builder |
spikesPerChunk(VariableAmount count)
Sets the number of spikes to generate per chunk.
|
from, reset
IceSpike.Builder spikesPerChunk(VariableAmount count)
count
- The new number of spikesdefault IceSpike.Builder spikesPerChunk(int count)
count
- The new number of spikesIceSpike.Builder height(VariableAmount height)
height
- The new base heightdefault IceSpike.Builder height(int height)
height
- The new base heightIceSpike.Builder extremeSpikeProbability(double p)
p
- The new spawn probabilityIceSpike.Builder extremeSpikeIncrease(VariableAmount increase)
increase
- The new base height increasedefault IceSpike.Builder extremeSpikeIncrease(int increase)
increase
- The new base height increaseIceSpike build() throws IllegalStateException
IceSpike
populator with the
settings set within the builder.IllegalStateException
- If there are any settings left unset
which do not have default values