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