Package me.fullpage.api.events
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
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result
-
Field Summary
-
Constructor Summary
ConstructorDescriptionPlayerMineBreakEvent(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 Summary
Modifier and TypeMethodDescriptionorg.bukkit.block.Block
getBlock()
org.bukkit.inventory.ItemStack
getDrops()
static org.bukkit.event.HandlerList
org.bukkit.event.HandlerList
org.bukkit.Location
org.bukkit.Material
boolean
void
setCancelled(boolean b)
Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Field Details
-
handlerList
private static final org.bukkit.event.HandlerList handlerList -
isCancelled
private boolean isCancelled -
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
-
mPickaxe
-
-
Constructor Details
-
PlayerMineBreakEvent
-
-
Method Details
-
isCancelled
public boolean isCancelled()- Specified by:
isCancelled
in interfaceorg.bukkit.event.Cancellable
-
setCancelled
public void setCancelled(boolean b)- Specified by:
setCancelled
in interfaceorg.bukkit.event.Cancellable
-
getHandlers
public org.bukkit.event.HandlerList getHandlers()- Specified by:
getHandlers
in classorg.bukkit.event.Event
-
getHandlerList
public static org.bukkit.event.HandlerList getHandlerList() -
getMPlayer
-
getLocation
public org.bukkit.Location getLocation() -
getBlock
public org.bukkit.block.Block getBlock() -
getDrops
public org.bukkit.inventory.ItemStack getDrops() -
getMineType
-
getMPickaxe
-
getMaterial
public org.bukkit.Material getMaterial()
-