Class PlayerMineBreakEvent

java.lang.Object
org.bukkit.event.Event
me.fullpage.api.events.PlayerMineBreakEvent
All Implemented Interfaces:
org.bukkit.event.Cancellable

public class PlayerMineBreakEvent extends org.bukkit.event.Event implements org.bukkit.event.Cancellable
  • Field Details

    • handlerList

      private static final org.bukkit.event.HandlerList handlerList
    • isCancelled

      private boolean isCancelled
    • mPlayer

      private final MPlayer mPlayer
    • location

      private final org.bukkit.Location location
    • block

      private final org.bukkit.block.Block block
    • material

      private final org.bukkit.Material material
    • drops

      private final org.bukkit.inventory.ItemStack drops
    • mineType

      private final String mineType
    • mPickaxe

      private final MPickaxe mPickaxe
  • Constructor Details

    • PlayerMineBreakEvent

      public PlayerMineBreakEvent(MPlayer mPlayer, org.bukkit.Location location, org.bukkit.block.Block block, org.bukkit.Material material, org.bukkit.inventory.ItemStack drops, String minetype, MPickaxe mPickaxe)
  • Method Details

    • isCancelled

      public boolean isCancelled()
      Specified by:
      isCancelled in interface org.bukkit.event.Cancellable
    • setCancelled

      public void setCancelled(boolean b)
      Specified by:
      setCancelled in interface org.bukkit.event.Cancellable
    • getHandlers

      public org.bukkit.event.HandlerList getHandlers()
      Specified by:
      getHandlers in class org.bukkit.event.Event
    • getHandlerList

      public static org.bukkit.event.HandlerList getHandlerList()
    • getMPlayer

      public MPlayer getMPlayer()
    • getLocation

      public org.bukkit.Location getLocation()
    • getBlock

      public org.bukkit.block.Block getBlock()
    • getDrops

      public org.bukkit.inventory.ItemStack getDrops()
    • getMineType

      public String getMineType()
    • getMPickaxe

      public MPickaxe getMPickaxe()
    • getMaterial

      public org.bukkit.Material getMaterial()