public class LoggingPlayerInteractEvent extends org.bukkit.event.player.PlayerInteractEvent implements CancelLogging
| Constructor and Description |
|---|
LoggingPlayerInteractEvent(org.bukkit.entity.Player who,
org.bukkit.event.block.Action action,
org.bukkit.inventory.ItemStack item,
org.bukkit.block.Block clickedBlock,
org.bukkit.block.BlockFace clickedFace) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<CancelAttempt> |
getCancels()
Get an immutable list of cancels.
|
void |
setCancelled(boolean cancel) |
getAction, getBlockFace, getClickedBlock, getHand, getHandlerList, getHandlers, getItem, getMaterial, hasBlock, hasItem, isBlockInHand, isCancelled, setUseInteractedBlock, setUseItemInHand, useInteractedBlock, useItemInHandpublic LoggingPlayerInteractEvent(org.bukkit.entity.Player who,
org.bukkit.event.block.Action action,
org.bukkit.inventory.ItemStack item,
org.bukkit.block.Block clickedBlock,
org.bukkit.block.BlockFace clickedFace)
public java.util.List<CancelAttempt> getCancels()
CancelLogginggetCancels in interface CancelLoggingpublic void setCancelled(boolean cancel)
setCancelled in interface org.bukkit.event.CancellablesetCancelled in class org.bukkit.event.player.PlayerInteractEvent