Package net.glowstone.generator.objects
Class TallGrass
java.lang.Object
net.glowstone.generator.objects.TallGrass
- All Implemented Interfaces:
TerrainObject
-
Field Summary
Fields inherited from interface net.glowstone.generator.objects.TerrainObject
PLANT_TYPES
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
TallGrass
public TallGrass(org.bukkit.material.LongGrass grassType)
-
-
Method Details
-
generate
public boolean generate(org.bukkit.World world, Random random, int sourceX, int sourceY, int sourceZ) Description copied from interface:TerrainObject
Generates this feature.- 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
-