Script API - v1.26.0.25
    Preparing search index...

    Class EntityHurtBeforeEventBeta

    Advertisement

    Contains information related to an entity that will be hurt.

    Index

    Constructors

    Properties

    cancel: boolean
    damage: number

    Describes the amount of damage that will be caused.

    This property can't be read in early-execution mode.

    damageSource: EntityDamageSource

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

    This property can't be read in early-execution mode.

    hurtEntity: Entity

    Entity that will be hurt.

    This property can't be read in early-execution mode.

    Advertisement