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