|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.bukkit.event.Event org.bukkit.event.entity.EntityEvent org.bukkit.event.entity.EntityDamageEvent org.bukkit.event.entity.EntityDamageByEntityEvent
public class EntityDamageByEntityEvent
Called when an entity is damaged by an entity
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.bukkit.event.entity.EntityDamageEvent |
---|
EntityDamageEvent.DamageCause |
Nested classes/interfaces inherited from class org.bukkit.event.Event |
---|
Event.Result |
Field Summary |
---|
Fields inherited from class org.bukkit.event.entity.EntityEvent |
---|
entity |
Constructor Summary | |
---|---|
EntityDamageByEntityEvent(Entity damager,
Entity damagee,
EntityDamageEvent.DamageCause cause,
double damage)
|
|
EntityDamageByEntityEvent(Entity damager,
Entity damagee,
EntityDamageEvent.DamageCause cause,
int damage)
Deprecated. |
Method Summary | |
---|---|
Entity |
getDamager()
Returns the entity that damaged the defender. |
Methods inherited from class org.bukkit.event.entity.EntityDamageEvent |
---|
_INVALID_getDamage, _INVALID_setDamage, getCause, getDamage, getHandlerList, getHandlers, isCancelled, setCancelled, setDamage |
Methods inherited from class org.bukkit.event.entity.EntityEvent |
---|
getEntity, getEntityType |
Methods inherited from class org.bukkit.event.Event |
---|
getEventName, isAsynchronous |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
@Deprecated public EntityDamageByEntityEvent(Entity damager, Entity damagee, EntityDamageEvent.DamageCause cause, int damage)
public EntityDamageByEntityEvent(Entity damager, Entity damagee, EntityDamageEvent.DamageCause cause, double damage)
Method Detail |
---|
public Entity getDamager()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |