"use strict";
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
Object.defineProperty(exports, "__esModule", { value: true });
const BlockActor_1 = require("./BlockActor");
class HopperBlockActor extends BlockActor_1.default {
    customName;
    transferCooldown;
    load() {
        if (!this.rootTag) {
            return;
        }
        let tag = this.rootTag.find("CustomName");
        if (tag) {
            this.customName = tag.valueAsString;
        }
        tag = this.rootTag.find("TransferCooldown");
        if (tag) {
            this.transferCooldown = tag.valueAsInt;
        }
    }
}
exports.default = HopperBlockActor;

//# sourceMappingURL=../../maps/minecraft/blockActors/HopperBlockActor.js.map
