Modifier and Type | Method and Description |
---|---|
IceSpike |
build()
Builds a new instance of a
IceSpike populator with the
settings set within the builder. |
IceSpike.Builder |
extremeSpikeBaseIncrease(int increase)
Sets the base height increase of the extreme spikes.
|
IceSpike.Builder |
extremeSpikeChance(int chance)
Gets the chance of the spike much larger than normal.
|
IceSpike.Builder |
extremeSpikeIncreaseVariance(int variance)
Sets the variance in the height increase of extreme spikes.
|
IceSpike.Builder |
height(int height)
Sets the base height of the spike.
|
IceSpike.Builder |
heightVariance(int variance)
Sets the height variance of the spike.
|
IceSpike.Builder |
reset()
Resets this builder to the default values.
|
IceSpike.Builder height(int height)
height
- The new base heightIceSpike.Builder heightVariance(int variance)
variance
- The new height varianceIceSpike.Builder extremeSpikeChance(int chance)
chance
- The new spawn chanceIceSpike.Builder extremeSpikeBaseIncrease(int increase)
increase
- The new base height increaseIceSpike.Builder extremeSpikeIncreaseVariance(int variance)
variance
- The new increase varianceIceSpike.Builder reset()
IceSpike 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