public class SugarCane extends Object implements TerrainObject
PLANT_TYPES
Constructor and Description |
---|
SugarCane() |
Modifier and Type | Method and Description |
---|---|
boolean |
generate(org.bukkit.World world,
Random random,
int x,
int y,
int z)
Generates this feature.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
killPlantAbove
public boolean generate(org.bukkit.World world, Random random, int x, int y, int z)
TerrainObject
generate
in interface TerrainObject
world
- 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.