The EntityTamedBeforeEvent class in @minecraft/server.
Class in @minecraft/server
import { EntityTamedBeforeEvent } from '@minecraft/server';Constructor
Section titled “Constructor”protected constructor();Properties
Section titled “Properties”cancel
Section titled “cancel”cancel: boolean;entity
Section titled “entity”read-only
readonly entity: Entity;Types
tamingEntity
Section titled “tamingEntity”read-only
readonly tamingEntity: Entity;Types
Used by
Section titled “Used by”EntityTamedBeforeEventSignal.subscribe, EntityTamedBeforeEventSignal.unsubscribe