Class BlockCarrot

All Implemented Interfaces:
IBlockGrowable

public class BlockCarrot extends BlockCrops
  • Constructor Details

    • BlockCarrot

      public BlockCarrot()
  • 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 BlockCrops
      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.