Class BlockMonsterEgg


public class BlockMonsterEgg extends BlockType
  • Constructor Details

    • BlockMonsterEgg

      public BlockMonsterEgg()
  • Method Details

    • blockDestroy

      public void blockDestroy(GlowPlayer player, GlowBlock block, org.bukkit.block.BlockFace face)
      Description copied from class: BlockType
      Called when a player attempts to destroy a block.
      Overrides:
      blockDestroy in class BlockType
      Parameters:
      player - The player interacting
      block - The block the player destroyed
      face - The block face
    • 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.