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