Class DoubleTallPlant

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

public class DoubleTallPlant extends Object implements TerrainObject
  • 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 interface TerrainObject
      Parameters:
      world - the world to generate in
      random - the PRNG that will choose the size and a few details of the shape
      sourceX - the base X coordinate
      sourceY - the base Y coordinate
      sourceZ - the base Z coordinate
      Returns:
      true if at least one plant was successfully generated