Class BlockHugeMushroom


public class BlockHugeMushroom extends BlockType
  • Constructor Details

    • BlockHugeMushroom

      public BlockHugeMushroom(org.bukkit.Material mushroomType, short data)
    • BlockHugeMushroom

      public BlockHugeMushroom(org.bukkit.Material mushroomType)
    • BlockHugeMushroom

      public BlockHugeMushroom(boolean isRedMushroom)
  • Method Details

    • getDrops

      @NotNull public @NotNull Collection<org.bukkit.inventory.ItemStack> getDrops(GlowBlock block, org.bukkit.inventory.ItemStack tool)
      Description copied from class: BlockType
      Get the items that will be dropped by digging the block.
      Overrides:
      getDrops in class BlockType
      Parameters:
      block - The block being dug.
      tool - The tool used or null if fists or no tool was used.
      Returns:
      The drops that should be returned.