public class Flower extends Object implements TerrainObject
PLANT_TYPES| Constructor and Description |
|---|
Flower(FlowerType plantType) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
generate(org.bukkit.World world,
Random random,
int sourceX,
int sourceY,
int sourceZ)
Generates up to 64 flowers around the given point.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitkillPlantAbovepublic Flower(FlowerType plantType)
public boolean generate(org.bukkit.World world,
Random random,
int sourceX,
int sourceY,
int sourceZ)
generate in interface TerrainObjectworld - 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.