@minecraft/creator-tools
Version:
Minecraft Creator Tools command line and libraries.
19 lines (18 loc) • 496 B
TypeScript
import Location from "./Location";
export default class BlockLocation {
private _x;
private _y;
private _z;
get x(): number;
set x(newX: number);
get y(): number;
set y(newY: number);
get z(): number;
set z(newZ: number);
get title(): string;
toLocation(): Location;
toArray(): number[];
toSummary(): string;
constructor(x?: number | undefined, y?: number | undefined, z?: number | undefined);
static from(value: any): BlockLocation;
}