public interface DesertWell extends Populator
getSpawnProbability() and if the
spawn conditions are met (that the block its spawning on is sand).| Modifier and Type | Interface and Description |
|---|---|
static interface |
DesertWell.Builder
A builder for constructing
DesertWell populators. |
| Modifier and Type | Method and Description |
|---|---|
static DesertWell.Builder |
builder()
Creates a new
DesertWell.Builder to build a DesertWell populator. |
double |
getSpawnProbability()
Gets the probability of a desert well spawning.
|
PopulatorObject |
getWellObject()
Gets the
PopulatorObject representing the well. |
void |
setSpawnProbability(double p)
Sets the probability of a desert well spawning.
|
void |
setWellObject(PopulatorObject obj)
Sets the
PopulatorObject representing the well. |
static DesertWell.Builder builder()
DesertWell.Builder to build a DesertWell populator.double getSpawnProbability()
void setSpawnProbability(double p)
p - The new spawn probabilityPopulatorObject getWellObject()
PopulatorObject representing the well.void setWellObject(PopulatorObject obj)
PopulatorObject representing the well.obj - The new populator object