Class BlockDropless

Direct Known Subclasses:
BlockEnderPortalFrame, BlockMobSpawner

public class BlockDropless extends BlockType
  • Constructor Details

    • BlockDropless

      public BlockDropless()
  • Method Details

    • getDrops

      @NotNull public final @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.