"use strict";
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
Object.defineProperty(exports, "__esModule", { value: true });
exports.EntityAddRiderComponent = void 0;
const ComponentBase_1 = require("../ComponentBase");
/**
 * When added, this component makes the entity spawn with a
 * rider of the specified entityType.
 */
class EntityAddRiderComponent extends ComponentBase_1.default {
    /**
     * The type of entity that is added as a rider for this entity
     * when spawned under certain conditions.
     * @throws This property can throw when used.
     */
    "entityType";
    /**
     * Optional spawn event to trigger on the rider when that rider
     * is spawned for this entity.
     * @throws This property can throw when used.
     */
    "spawnEvent";
}
exports.EntityAddRiderComponent = EntityAddRiderComponent;

//# sourceMappingURL=../../maps/minecraft/components/EntityAddRiderComponent.js.map
