Package cn.nukkit.event.entity
Class EntityDamageByChildEntityEvent
java.lang.Object
cn.nukkit.event.Event
cn.nukkit.event.entity.EntityEvent
cn.nukkit.event.entity.EntityDamageEvent
cn.nukkit.event.entity.EntityDamageByEntityEvent
cn.nukkit.event.entity.EntityDamageByChildEntityEvent
- All Implemented Interfaces:
Cancellable
- Author:
- MagicDroidX (Nukkit Project)
-
Nested Class Summary
Nested classes/interfaces inherited from class cn.nukkit.event.entity.EntityDamageEvent
EntityDamageEvent.DamageCause, EntityDamageEvent.DamageModifier
-
Field Summary
Fields inherited from class cn.nukkit.event.entity.EntityEvent
entity
-
Constructor Summary
ConstructorDescriptionEntityDamageByChildEntityEvent
(Entity damager, Entity childEntity, Entity entity, EntityDamageEvent.DamageCause cause, float damage) -
Method Summary
Methods inherited from class cn.nukkit.event.entity.EntityDamageByEntityEvent
addAttackerModifiers, getDamager, getKnockBack, getWeaponEnchantments, setKnockBack
Methods inherited from class cn.nukkit.event.entity.EntityDamageEvent
canBeReducedByArmor, getAttackCooldown, getCause, getDamage, getDamage, getFinalDamage, getHandlers, getOriginalDamage, getOriginalDamage, getShieldBreakCoolDown, isApplicable, isBreakShield, setAttackCooldown, setBreakShield, setDamage, setDamage, setShieldBreakCoolDown
Methods inherited from class cn.nukkit.event.entity.EntityEvent
getEntity
Methods inherited from class cn.nukkit.event.Event
getEventName, isCancelled, setCancelled, setCancelled
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface cn.nukkit.event.Cancellable
isCancelled, setCancelled, setCancelled
-
Constructor Details
-
EntityDamageByChildEntityEvent
public EntityDamageByChildEntityEvent(Entity damager, Entity childEntity, Entity entity, EntityDamageEvent.DamageCause cause, float damage)
-
-
Method Details
-
getChild
-