@minecraft/server
    Preparing search index...

    Class EntityHurtAfterEventBeta

    Contains information related to an entity getting hurt.

    Index

    Properties

    damage: number

    Describes the amount of damage caused.

    damageSource: EntityDamageSource

    Source information on the entity that may have applied this damage.

    hurtEntity: Entity

    Entity that was hurt.