Package net.glowstone.generator.objects
Class DoubleTallPlant
java.lang.Object
net.glowstone.generator.objects.DoubleTallPlant
- All Implemented Interfaces:
TerrainObject
-
Field Summary
Fields inherited from interface net.glowstone.generator.objects.TerrainObject
PLANT_TYPES
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
DoubleTallPlant
public DoubleTallPlant(org.bukkit.Material species)
-
-
Method Details
-
generate
public boolean generate(org.bukkit.World world, Random random, int sourceX, int sourceY, int sourceZ) Generates up to 64 plants 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 at least one plant was successfully generated
-