Class Flower

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

public class Flower extends Object implements TerrainObject
  • Constructor Details

  • Method Details

    • generate

      public boolean generate(org.bukkit.World world, Random random, int sourceX, int sourceY, int sourceZ)
      Generates up to 64 flowers 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 successfully generated