public static interface Fossil.Builder extends ResettableBuilder<Fossil,Fossil.Builder>
Fossil populators.| Modifier and Type | Method and Description |
|---|---|
Fossil |
build()
Builds a new instance of a
Fossil populator with the settings
set within the builder. |
Fossil.Builder |
probability(double p)
Sets the probability of a fossil spawning.
|
from, resetFossil.Builder probability(double p)
p - The new spawn probabilityFossil build() throws IllegalStateException
Fossil populator with the settings
set within the builder.IllegalStateException - If there are any settings left unset
which do not have default values