Package cn.nukkit.event.entity
Class EntityDamageByBlockEvent
java.lang.Object
cn.nukkit.event.Event
cn.nukkit.event.entity.EntityEvent
cn.nukkit.event.entity.EntityDamageEvent
cn.nukkit.event.entity.EntityDamageByBlockEvent
- 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
ConstructorDescriptionEntityDamageByBlockEvent
(Block damager, Entity entity, EntityDamageEvent.DamageCause cause, float damage) -
Method Summary
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
-
EntityDamageByBlockEvent
public EntityDamageByBlockEvent(Block damager, Entity entity, EntityDamageEvent.DamageCause cause, float damage)
-
-
Method Details
-
getDamager
-