Package net.glowstone.generator.objects
Class Flower
java.lang.Object
net.glowstone.generator.objects.Flower
- All Implemented Interfaces:
TerrainObject
-
Field Summary
Fields inherited from interface net.glowstone.generator.objects.TerrainObject
PLANT_TYPES
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Flower
-
-
Method Details
-
generate
public boolean generate(org.bukkit.World world, Random random, int sourceX, int sourceY, int sourceZ) Generates up to 64 flowers around the given point.- Specified by:
generate
in interfaceTerrainObject
- Parameters:
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 coordinate- Returns:
- true if successfully generated
-