export default class FSWorldHelper {
    static fillBlocks(dimenion, locationFrom, locationTo, block) {
        const command = `/fill ${locationFrom.x} ${locationFrom.y} ${locationFrom.z} ${locationTo.x} ${locationTo.y} ${locationTo.z} ${block}`;
        dimenion.runCommand(command);
    }
    static replaceBlocks(dimenion, locationFrom, locationTo, block, replace) {
        const command = `/fill ${locationFrom.x} ${locationFrom.y} ${locationFrom.z} ${locationTo.x} ${locationTo.y} ${locationTo.z} ${block} [] replace ${replace} []`;
        dimenion.runCommand(command);
    }
    static pointsBetween(pointFrom, pointTo) {
        let points = [];
        if (pointFrom < pointTo) {
            for (let i = pointFrom; i <= pointTo; i++) {
                points.push(i);
            }
        }
        else {
            for (let i = pointFrom; i >= pointTo; i--) {
                points.push(i);
            }
        }
        return points;
    }
}

//# sourceMappingURL=../../../../../_SBUNK_BPDebug/fs_sbunk/fs/libs/FSWorldHelper.js.map
