Module org.cloudburstmc.api
Class EntityDamageByBlockEvent
java.lang.Object
org.cloudburstmc.api.event.Event
org.cloudburstmc.api.event.entity.EntityEvent
org.cloudburstmc.api.event.entity.EntityDamageEvent
org.cloudburstmc.api.event.entity.EntityDamageByBlockEvent
- All Implemented Interfaces:
Cancellable
author: MagicDroidX
Nukkit Project
-
Nested Class Summary
Nested classes/interfaces inherited from class org.cloudburstmc.api.event.entity.EntityDamageEvent
EntityDamageEvent.DamageCause, EntityDamageEvent.DamageModifier -
Field Summary
Fields inherited from class org.cloudburstmc.api.event.entity.EntityEvent
entity -
Constructor Summary
ConstructorsConstructorDescriptionEntityDamageByBlockEvent(Block damager, Entity entity, EntityDamageEvent.DamageCause cause, float damage) -
Method Summary
Methods inherited from class org.cloudburstmc.api.event.entity.EntityDamageEvent
canBeReducedByArmor, getAttackCooldown, getCause, getDamage, getDamage, getFinalDamage, getOriginalDamage, getOriginalDamage, isApplicable, setAttackCooldown, setDamage, setDamageMethods inherited from class org.cloudburstmc.api.event.entity.EntityEvent
getEntityMethods inherited from class org.cloudburstmc.api.event.Event
isCancelled, setCancelled, setCancelledMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.cloudburstmc.api.event.Cancellable
isCancelled, setCancelled, setCancelled
-
Constructor Details
-
EntityDamageByBlockEvent
public EntityDamageByBlockEvent(Block damager, Entity entity, EntityDamageEvent.DamageCause cause, float damage)
-
-
Method Details
-
getDamager
-