public class CustomItemShearEntityEvent extends CustomItemStackEvent implements org.bukkit.event.Cancellable
| Constructor and Description |
|---|
CustomItemShearEntityEvent(org.bukkit.event.player.PlayerShearEntityEvent event,
CustomItemStack cStack) |
| Modifier and Type | Method and Description |
|---|---|
org.bukkit.event.player.PlayerShearEntityEvent |
getPlayerShearEntityEvent() |
boolean |
isCancelled() |
void |
setCancelled(boolean cancel) |
getCustomItemStackgetCustomItem, getHandlerList, getHandlerspublic CustomItemShearEntityEvent(org.bukkit.event.player.PlayerShearEntityEvent event,
CustomItemStack cStack)
public org.bukkit.event.player.PlayerShearEntityEvent getPlayerShearEntityEvent()
public boolean isCancelled()
isCancelled in interface org.bukkit.event.Cancellablepublic void setCancelled(boolean cancel)
setCancelled in interface org.bukkit.event.Cancellable