$entity | pocketmine\event\entity\EntityEvent | protected |
$eventName (defined in pocketmine\event\Event) | pocketmine\event\Event | protected |
__construct(Entity $damager, Entity $entity, int $cause, float $damage, array $modifiers=[], private float $knockBack=Living::DEFAULT_KNOCKBACK_FORCE, private float $verticalKnockBackLimit=Living::DEFAULT_KNOCKBACK_VERTICAL_LIMIT) | pocketmine\event\entity\EntityDamageByEntityEvent | |
pocketmine::event::entity::EntityDamageEvent::__construct(Entity $entity, private int $cause, float $damage, private array $modifiers=[]) | pocketmine\event\entity\EntityDamageEvent | |
addAttackerModifiers(Entity $damager) (defined in pocketmine\event\entity\EntityDamageByEntityEvent) | pocketmine\event\entity\EntityDamageByEntityEvent | protected |
call() | pocketmine\event\Event | |
canBeReducedByArmor() | pocketmine\event\entity\EntityDamageEvent | |
CAUSE_BLOCK_EXPLOSION (defined in pocketmine\event\entity\EntityDamageEvent) | pocketmine\event\entity\EntityDamageEvent | |
CAUSE_CONTACT (defined in pocketmine\event\entity\EntityDamageEvent) | pocketmine\event\entity\EntityDamageEvent | |
CAUSE_CUSTOM (defined in pocketmine\event\entity\EntityDamageEvent) | pocketmine\event\entity\EntityDamageEvent | |
CAUSE_DROWNING (defined in pocketmine\event\entity\EntityDamageEvent) | pocketmine\event\entity\EntityDamageEvent | |
CAUSE_ENTITY_ATTACK (defined in pocketmine\event\entity\EntityDamageEvent) | pocketmine\event\entity\EntityDamageEvent | |
CAUSE_ENTITY_EXPLOSION (defined in pocketmine\event\entity\EntityDamageEvent) | pocketmine\event\entity\EntityDamageEvent | |
CAUSE_FALL (defined in pocketmine\event\entity\EntityDamageEvent) | pocketmine\event\entity\EntityDamageEvent | |
CAUSE_FALLING_BLOCK (defined in pocketmine\event\entity\EntityDamageEvent) | pocketmine\event\entity\EntityDamageEvent | |
CAUSE_FIRE (defined in pocketmine\event\entity\EntityDamageEvent) | pocketmine\event\entity\EntityDamageEvent | |
CAUSE_FIRE_TICK (defined in pocketmine\event\entity\EntityDamageEvent) | pocketmine\event\entity\EntityDamageEvent | |
CAUSE_LAVA (defined in pocketmine\event\entity\EntityDamageEvent) | pocketmine\event\entity\EntityDamageEvent | |
CAUSE_MAGIC (defined in pocketmine\event\entity\EntityDamageEvent) | pocketmine\event\entity\EntityDamageEvent | |
CAUSE_PROJECTILE (defined in pocketmine\event\entity\EntityDamageEvent) | pocketmine\event\entity\EntityDamageEvent | |
CAUSE_STARVATION (defined in pocketmine\event\entity\EntityDamageEvent) | pocketmine\event\entity\EntityDamageEvent | |
CAUSE_SUFFOCATION (defined in pocketmine\event\entity\EntityDamageEvent) | pocketmine\event\entity\EntityDamageEvent | |
CAUSE_SUICIDE (defined in pocketmine\event\entity\EntityDamageEvent) | pocketmine\event\entity\EntityDamageEvent | |
CAUSE_VOID (defined in pocketmine\event\entity\EntityDamageEvent) | pocketmine\event\entity\EntityDamageEvent | |
getAttackCooldown() | pocketmine\event\entity\EntityDamageEvent | |
getBaseDamage() | pocketmine\event\entity\EntityDamageEvent | |
getCause() (defined in pocketmine\event\entity\EntityDamageEvent) | pocketmine\event\entity\EntityDamageEvent | |
getDamager() | pocketmine\event\entity\EntityDamageByEntityEvent | |
getEntity() | pocketmine\event\entity\EntityEvent | |
getEventName() (defined in pocketmine\event\Event) | pocketmine\event\Event | |
getFinalDamage() (defined in pocketmine\event\entity\EntityDamageEvent) | pocketmine\event\entity\EntityDamageEvent | |
getKnockBack() | pocketmine\event\entity\EntityDamageByEntityEvent | |
getModifier(int $type) (defined in pocketmine\event\entity\EntityDamageEvent) | pocketmine\event\entity\EntityDamageEvent | |
getModifiers() | pocketmine\event\entity\EntityDamageEvent | |
getOriginalBaseDamage() | pocketmine\event\entity\EntityDamageEvent | |
getOriginalModifier(int $type) (defined in pocketmine\event\entity\EntityDamageEvent) | pocketmine\event\entity\EntityDamageEvent | |
getOriginalModifiers() | pocketmine\event\entity\EntityDamageEvent | |
getVerticalKnockBackLimit() | pocketmine\event\entity\EntityDamageByEntityEvent | |
hasHandlers() | pocketmine\event\Event | static |
isApplicable(int $type) (defined in pocketmine\event\entity\EntityDamageEvent) | pocketmine\event\entity\EntityDamageEvent | |
isCancelled() | pocketmine\event\Cancellable | |
MODIFIER_ABSORPTION (defined in pocketmine\event\entity\EntityDamageEvent) | pocketmine\event\entity\EntityDamageEvent | |
MODIFIER_ARMOR (defined in pocketmine\event\entity\EntityDamageEvent) | pocketmine\event\entity\EntityDamageEvent | |
MODIFIER_ARMOR_ENCHANTMENTS (defined in pocketmine\event\entity\EntityDamageEvent) | pocketmine\event\entity\EntityDamageEvent | |
MODIFIER_ARMOR_HELMET (defined in pocketmine\event\entity\EntityDamageEvent) | pocketmine\event\entity\EntityDamageEvent | |
MODIFIER_CRITICAL (defined in pocketmine\event\entity\EntityDamageEvent) | pocketmine\event\entity\EntityDamageEvent | |
MODIFIER_PREVIOUS_DAMAGE_COOLDOWN (defined in pocketmine\event\entity\EntityDamageEvent) | pocketmine\event\entity\EntityDamageEvent | |
MODIFIER_RESISTANCE (defined in pocketmine\event\entity\EntityDamageEvent) | pocketmine\event\entity\EntityDamageEvent | |
MODIFIER_STRENGTH (defined in pocketmine\event\entity\EntityDamageEvent) | pocketmine\event\entity\EntityDamageEvent | |
MODIFIER_TOTEM (defined in pocketmine\event\entity\EntityDamageEvent) | pocketmine\event\entity\EntityDamageEvent | |
MODIFIER_WEAKNESS (defined in pocketmine\event\entity\EntityDamageEvent) | pocketmine\event\entity\EntityDamageEvent | |
MODIFIER_WEAPON_ENCHANTMENTS (defined in pocketmine\event\entity\EntityDamageEvent) | pocketmine\event\entity\EntityDamageEvent | |
setAttackCooldown(int $attackCooldown) | pocketmine\event\entity\EntityDamageEvent | |
setBaseDamage(float $damage) | pocketmine\event\entity\EntityDamageEvent | |
setKnockBack(float $knockBack) | pocketmine\event\entity\EntityDamageByEntityEvent | |
setModifier(float $damage, int $type) (defined in pocketmine\event\entity\EntityDamageEvent) | pocketmine\event\entity\EntityDamageEvent | |
setVerticalKnockBackLimit(float $verticalKnockBackLimit) | pocketmine\event\entity\EntityDamageByEntityEvent | |