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