public static interface DesertWell.Builder extends ResettableBuilder<DesertWell,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 |
probability(double p)
Sets the probability of a desert well spawning.
|
DesertWell.Builder |
wellObject(PopulatorObject obj)
Sets the
PopulatorObject representing the well. |
from, resetDesertWell.Builder probability(double p)
p - The new spawn probabilityDesertWell.Builder wellObject(PopulatorObject obj)
PopulatorObject representing the well.obj - The new populator objectDesertWell 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