public class Cactus extends Object implements TerrainObject
PLANT_TYPES| Constructor and Description |
|---|
Cactus() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
generate(org.bukkit.World world,
Random random,
int x,
int y,
int z)
Generates or extends a cactus, if there is space.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitkillPlantAbovepublic boolean generate(org.bukkit.World world,
Random random,
int x,
int y,
int z)
generate in interface TerrainObjectworld - the world to generate inrandom - the PRNG that will choose the size and a few details of the shapex - the base X coordinatey - the base Y coordinatez - the base Z coordinateCopyright © 2021. All rights reserved.