public class CustomItemFishEvent extends CustomItemStackEvent implements org.bukkit.event.Cancellable
Constructor and Description |
---|
CustomItemFishEvent(org.bukkit.event.player.PlayerFishEvent event,
CustomItemStack cStack) |
Modifier and Type | Method and Description |
---|---|
org.bukkit.event.player.PlayerFishEvent |
getPlayerFishEvent() |
boolean |
isCancelled() |
void |
setCancelled(boolean cancel) |
getCustomItemStack
getCustomItem, getHandlerList, getHandlers
public CustomItemFishEvent(org.bukkit.event.player.PlayerFishEvent event, CustomItemStack cStack)
public org.bukkit.event.player.PlayerFishEvent getPlayerFishEvent()
public boolean isCancelled()
isCancelled
in interface org.bukkit.event.Cancellable
public void setCancelled(boolean cancel)
setCancelled
in interface org.bukkit.event.Cancellable