public class DoubleTallPlant extends Object implements TerrainObject
PLANT_TYPES
Constructor and Description |
---|
DoubleTallPlant(org.bukkit.material.types.DoublePlantSpecies species) |
Modifier and Type | Method and Description |
---|---|
boolean |
generate(org.bukkit.World world,
Random random,
int sourceX,
int sourceY,
int sourceZ)
Generates up to 64 plants around the given point.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
killPlantAbove
public DoubleTallPlant(org.bukkit.material.types.DoublePlantSpecies species)
public boolean generate(org.bukkit.World world, Random random, int sourceX, int sourceY, int sourceZ)
generate
in interface TerrainObject
world
- the world to generate inrandom
- the PRNG that will choose the size and a few details of the shapesourceX
- the base X coordinatesourceY
- the base Y coordinatesourceZ
- the base Z coordinateCopyright © 2021. All rights reserved.