public static interface DesertWell.Builder
DesertWell
populators.Modifier and Type | Method and Description |
---|---|
DesertWell |
build()
Builds a new instance of a
DesertWell populator with the
settings set within the builder. |
DesertWell.Builder |
chance(int chance)
Sets the chance of a desert well spawning.
|
DesertWell.Builder |
reset()
Resets this builder to the default values.
|
DesertWell.Builder chance(int chance)
if ( [0,chance) == 0 )
. This must be greater
than zero, The default is 1000.chance
- The new spawn chanceDesertWell.Builder reset()
DesertWell build() throws IllegalStateException
DesertWell
populator with the
settings set within the builder.IllegalStateException
- If there are any settings left unset
which do not have default values