public static interface EnderCrystalPlatform.Builder
EnderCrystalPlatform
populators.Modifier and Type | Method and Description |
---|---|
EnderCrystalPlatform |
build()
Builds a new instance of a
EnderCrystalPlatform populator
with the settings set within the builder. |
EnderCrystalPlatform.Builder |
chance(int chance)
Sets the chance of a pillar spawning in a chunk.
|
EnderCrystalPlatform.Builder |
height(int height)
Sets the base height of the pillar.
|
EnderCrystalPlatform.Builder |
heightVariance(int variance)
Sets the height variance of the pillar.
|
EnderCrystalPlatform.Builder |
radius(int radius)
Sets the base radius of the pillar.
|
EnderCrystalPlatform.Builder |
radiusVariance(int variance)
Sets the radius variance of the pillar.
|
EnderCrystalPlatform.Builder |
reset()
Resets this builder to the default values.
|
EnderCrystalPlatform.Builder chance(int chance)
chance
- The spawn chanceEnderCrystalPlatform.Builder height(int height)
height
- The new base heightEnderCrystalPlatform.Builder heightVariance(int variance)
variance
- The new height varianceEnderCrystalPlatform.Builder radius(int radius)
radius
- The new base radiusEnderCrystalPlatform.Builder radiusVariance(int variance)
variance
- The new radius varianceEnderCrystalPlatform.Builder reset()
EnderCrystalPlatform build() throws IllegalStateException
EnderCrystalPlatform
populator
with the settings set within the builder.IllegalStateException
- If there are any settings left unset
which do not have default values