Modifier and Type | Interface and Description |
---|---|
static interface |
Fossil.Builder
A builder for constructing
Fossil populators. |
Modifier and Type | Method and Description |
---|---|
static Fossil.Builder |
builder()
Creates a new
Fossil.Builder to build a Fossil populator. |
double |
getSpawnProbability()
Gets the probability of a fossil being generated.
|
void |
setSpawnProbability(double chance)
Sets the spawn probability, must be be between 0 and 1.
|
static Fossil.Builder builder()
Fossil.Builder
to build a Fossil
populator.double getSpawnProbability()
void setSpawnProbability(double chance)
chance
- The new spawn probability