Package net.glowstone.generator.objects
Class SugarCane
java.lang.Object
net.glowstone.generator.objects.SugarCane
- All Implemented Interfaces:
TerrainObject
-
Field Summary
Fields inherited from interface net.glowstone.generator.objects.TerrainObject
PLANT_TYPES -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SugarCane
public SugarCane()
-
-
Method Details
-
generate
Description copied from interface:TerrainObjectGenerates this feature.- Specified by:
generatein interfaceTerrainObject- Parameters:
world- the world to generate inrandom- the PRNG that will choose the size and a few details of the shapex- the base X coordinatey- the base Y coordinatez- the base Z coordinate- Returns:
- true if successfully generated
-