Skip to main content

Class: EntityHitEntityAfterEvent

Contains information related to an entity hitting (melee attacking) another entity.

Constructors

new EntityHitEntityAfterEvent()

private new EntityHitEntityAfterEvent(): EntityHitEntityAfterEvent

Returns

EntityHitEntityAfterEvent

Properties

damagingEntity

readonly damagingEntity: Entity

Remarks

Entity that made a hit/melee attack.


hitEntity

readonly hitEntity: Entity

Remarks

Entity that was hit by the attack.