Class UnderwaterDecorator

java.lang.Object
org.bukkit.generator.BlockPopulator
net.glowstone.generator.decorators.BlockDecorator
net.glowstone.generator.decorators.overworld.UnderwaterDecorator

public class UnderwaterDecorator extends BlockDecorator
  • Constructor Details

    • UnderwaterDecorator

      public UnderwaterDecorator(org.bukkit.Material type)
  • Method Details

    • setRadii

      public final UnderwaterDecorator setRadii(int horizRadius, int vertRadius)
      Updates the size of this decorator.
      Parameters:
      horizRadius - the maximum radius on the horizontal plane
      vertRadius - the depth above and below the center
      Returns:
      this, updated
    • setOverridableBlocks

      public final UnderwaterDecorator setOverridableBlocks(org.bukkit.Material... overridables)
    • decorate

      public void decorate(org.bukkit.World world, Random random, org.bukkit.Chunk source)
      Specified by:
      decorate in class BlockDecorator