Class SugarCane

java.lang.Object
net.glowstone.generator.objects.SugarCane
All Implemented Interfaces:
TerrainObject

public class SugarCane extends Object implements TerrainObject
  • Constructor Details

    • SugarCane

      public SugarCane()
  • Method Details

    • generate

      public boolean generate(org.bukkit.World world, Random random, int x, int y, int z)
      Description copied from interface: TerrainObject
      Generates this feature.
      Specified by:
      generate in interface TerrainObject
      Parameters:
      world - the world to generate in
      random - the PRNG that will choose the size and a few details of the shape
      x - the base X coordinate
      y - the base Y coordinate
      z - the base Z coordinate
      Returns:
      true if successfully generated