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