Package gcspawners
Class AdvancedEntityDeathEvent
java.lang.Object
org.bukkit.event.Event
gcspawners.AdvancedEntityDeathEvent
public class AdvancedEntityDeathEvent
extends org.bukkit.event.Event
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result
-
Constructor Summary
ConstructorDescriptionAdvancedEntityDeathEvent(org.bukkit.entity.Entity damager, String entityType, boolean isCustom, int stackAmount, org.bukkit.Location location, org.bukkit.event.entity.EntityDamageEvent.DamageCause cause, int level, boolean hostile)
-
Method Summary
Modifier and TypeMethodDescriptionorg.bukkit.event.entity.EntityDamageEvent.DamageCause
getCause()
org.bukkit.entity.Entity
static org.bukkit.event.HandlerList
org.bukkit.event.HandlerList
int
getLevel()
org.bukkit.Location
int
boolean
boolean
boolean
void
setDropCustomDrops(boolean dropCustomDrops)
Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
AdvancedEntityDeathEvent
public AdvancedEntityDeathEvent(org.bukkit.entity.Entity damager, String entityType, boolean isCustom, int stackAmount, org.bukkit.Location location, org.bukkit.event.entity.EntityDamageEvent.DamageCause cause, int level, boolean hostile)
-
-
Method Details
-
isDropCustomDrops
public boolean isDropCustomDrops() -
setDropCustomDrops
public void setDropCustomDrops(boolean dropCustomDrops) -
isHostile
public boolean isHostile() -
getLevel
public int getLevel() -
getCause
public org.bukkit.event.entity.EntityDamageEvent.DamageCause getCause() -
getLocation
public org.bukkit.Location getLocation() -
isCustomEntity
public boolean isCustomEntity() -
getDamager
public org.bukkit.entity.Entity getDamager() -
getStackAmount
public int getStackAmount() -
getEntityType
-
getHandlers
public org.bukkit.event.HandlerList getHandlers()- Specified by:
getHandlers
in classorg.bukkit.event.Event
-
getHandlerList
public static org.bukkit.event.HandlerList getHandlerList()
-