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