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) |
void |
setUseInteractedBlock(org.bukkit.event.Event.Result useInteractedBlock) |
void |
setUseItemInHand(org.bukkit.event.Event.Result useItemInHand) |
getAction, getBlockFace, getClickedBlock, getHand, getHandlerList, getHandlers, getItem, getMaterial, hasBlock, hasItem, isBlockInHand, isCancelled, 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 setUseInteractedBlock(org.bukkit.event.Event.Result useInteractedBlock)
setUseInteractedBlock in class org.bukkit.event.player.PlayerInteractEventpublic void setUseItemInHand(org.bukkit.event.Event.Result useItemInHand)
setUseItemInHand in class org.bukkit.event.player.PlayerInteractEventpublic void setCancelled(boolean cancel)
setCancelled in interface org.bukkit.event.CancellablesetCancelled in class org.bukkit.event.player.PlayerInteractEvent