The EntityHealBeforeEventSignal class in @minecraft/server.
Class in @minecraft/server
import { EntityHealBeforeEventSignal } from '@minecraft/server';Constructor
Section titled “Constructor”protected constructor();Methods
Section titled “Methods”subscribe
Section titled “subscribe”subscribe( callback: (arg0: EntityHealBeforeEvent) => void, options?: EntityHealEventOptions,): (arg0: EntityHealBeforeEvent) => void;Parameters
callback(arg0: EntityHealBeforeEvent) => voidoptionsoptionalEntityHealEventOptions
Returns
(arg0: EntityHealBeforeEvent) => voidunsubscribe
Section titled “unsubscribe”unsubscribe(callback: (arg0: EntityHealBeforeEvent) => void): void;Parameters
callback(arg0: EntityHealBeforeEvent) => void