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

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