Class LoggingBlockBreakEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.block.BlockEvent
org.bukkit.event.block.BlockExpEvent
org.bukkit.event.block.BlockBreakEvent
com.sk89q.worldguard.bukkit.event.debug.LoggingBlockBreakEvent
- All Implemented Interfaces:
CancelLogging
,org.bukkit.event.Cancellable
public class LoggingBlockBreakEvent
extends org.bukkit.event.block.BlockBreakEvent
implements CancelLogging
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result
-
Field Summary
Fields inherited from class org.bukkit.event.block.BlockEvent
block
-
Constructor Summary
ConstructorDescriptionLoggingBlockBreakEvent
(org.bukkit.block.Block block, org.bukkit.entity.Player player) -
Method Summary
Modifier and TypeMethodDescriptionGet an immutable list of cancels.void
setCancelled
(boolean cancel) Methods inherited from class org.bukkit.event.block.BlockBreakEvent
getPlayer, isCancelled, isDropItems, setDropItems
Methods inherited from class org.bukkit.event.block.BlockExpEvent
getExpToDrop, getHandlerList, getHandlers, setExpToDrop
Methods inherited from class org.bukkit.event.block.BlockEvent
getBlock
Methods inherited from class org.bukkit.event.Event
callEvent, getEventName, isAsynchronous
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.bukkit.event.Cancellable
isCancelled
-
Constructor Details
-
LoggingBlockBreakEvent
public LoggingBlockBreakEvent(org.bukkit.block.Block block, org.bukkit.entity.Player player)
-
-
Method Details
-
getCancels
Description copied from interface:CancelLogging
Get an immutable list of cancels.- Specified by:
getCancels
in interfaceCancelLogging
- Returns:
- An immutable list
-
setCancelled
public void setCancelled(boolean cancel) - Specified by:
setCancelled
in interfaceorg.bukkit.event.Cancellable
- Overrides:
setCancelled
in classorg.bukkit.event.block.BlockBreakEvent
-