UNPKG

@minecraft/creator-tools

Version:

Minecraft Creator Tools command line and libraries.

33 lines (32 loc) 782 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 { /** * X size (west to east) component of this block area. */ "x"; /** * Y size (down to up) of this block area size. */ "y"; /** * Z size (south to north) of this block area size. */ "z"; /** * @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;