public interface DesertWell extends Populator
getSpawnChance()
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 |
---|---|
int |
getSpawnChance()
Gets the chance of a desert well spawning.
|
void |
setSpawnChance(int chance)
Sets the chance of a desert well spawning.
|
int getSpawnChance()
if ( [0,chance) == 0 )
.void setSpawnChance(int chance)
if ( [0,chance) == 0 )
. This must be greater than zero, The
default is 1000.chance
- The new spawn chance