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