UNPKG

@minecraft/creator-tools

Version:

Minecraft Creator Tools command line and libraries.

23 lines (21 loc) 601 B
"use strict"; // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. Object.defineProperty(exports, "__esModule", { value: true }); /** * Holds information for expressing the net size of a volume of * blocks. */ class BlockAreaSize { /** * @remarks * Tests whether this block area size is equal to another * BlockAreaSize object. * @param other */ equals(other) { return other.x === this.x && other.y === this.y && other.z === this.z; } } exports.default = BlockAreaSize; //# sourceMappingURL=../maps/minecraft/BlockAreaSize.js.map