Script API - v1.26.40.24
    Preparing search index...

    Class EntityTamedBeforeEventBeta

    Contains information regarding an event before an entity is tamed.

    export class EntityTamedBeforeEvent {
    private constructor();
    cancel: boolean;
    readonly entity: Entity;
    readonly tamingEntity: Entity;
    }
    Index

    Constructors

    Properties

    Constructors

    Properties

    cancel: boolean

    When set to true will cancel the event.

    This property can't be read in early-execution mode.

    entity: Entity

    The entity that is being tamed.

    This property can't be read in early-execution mode.

    tamingEntity: Entity

    The entity that is attempting to tame the entity.

    This property can't be read in early-execution mode.