org.bukkit.event.entity
public class EntityDamageByEntityEvent extends EntityDamageEvent
EntityDamageEvent.DamageCause
Event.Result
entity
Constructor and Description |
---|
EntityDamageByEntityEvent(Entity damager,
Entity damagee,
EntityDamageEvent.DamageCause cause,
double damage) |
EntityDamageByEntityEvent(Entity damager,
Entity damagee,
EntityDamageEvent.DamageCause cause,
int damage)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Entity |
getDamager()
Returns the entity that damaged the defender.
|
_INVALID_getDamage, _INVALID_setDamage, getCause, getDamage, getHandlerList, getHandlers, isCancelled, setCancelled, setDamage
getEntity, getEntityType
getEventName, isAsynchronous
@Deprecated public EntityDamageByEntityEvent(Entity damager, Entity damagee, EntityDamageEvent.DamageCause cause, int damage)
public EntityDamageByEntityEvent(Entity damager, Entity damagee, EntityDamageEvent.DamageCause cause, double damage)
public Entity getDamager()
Copyright © 2014. All rights reserved.