类 EntityHitEntityAfterEvent实验性

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

属性

damagingEntity: Entity

Entity that made a hit/melee attack.

hitEntity: Entity

Entity that was hit by the attack.