The EntityHealBeforeEvent class in @minecraft/server.
Class in @minecraft/server
import { EntityHealBeforeEvent } from '@minecraft/server';Constructor
Section titled “Constructor”protected constructor();Properties
Section titled “Properties”cancel
Section titled “cancel”cancel: boolean;healedEntity
Section titled “healedEntity”read-only
readonly healedEntity: Entity;Types
healing
Section titled “healing”healing: number;healSource
Section titled “healSource”read-only
readonly healSource: EntityHealSource;Types
Used by
Section titled “Used by”EntityHealBeforeEventSignal.subscribe, EntityHealBeforeEventSignal.unsubscribe