UNPKG

@minecraft/creator-tools

Version:

Minecraft Creator Tools command line and libraries.

33 lines (32 loc) 848 B
export declare enum CommandArgumentType { coordinate = 0, unknown = 1 } export declare enum CoordinateLocation { x = 0, y = 1, z = 2 } export declare enum CoordinateType { absolute = 0, relativeTilde = 1, localCaret = 2 } export default class CommandArgument { _content: string; _type: CommandArgumentType; _location?: CoordinateLocation; _coordinateType?: CoordinateType; _pos?: number; get value(): string; get position(): number; set position(value: number); get coordinateType(): CoordinateType; set coordinateType(type: CoordinateType); get type(): CommandArgumentType; get location(): CoordinateLocation | undefined; set location(newLocation: CoordinateLocation | undefined); constructor(content: string); private setValue; toString(): string; }