Skip to content

API reference Obsidian.API.Commands.ArgumentParsers

LocationArgumentParser class

Reads a position like vanilla's vec3 arguments: three coordinates, each absolute, ~ relative or all ^ local (see CommandCoordinates).

public sealed class LocationArgumentParser : BaseArgumentParser<VectorD>

In Obsidian.API.

Constructors

public LocationArgumentParser();

Properties

public override int Id { get; }public override string Identifier { get; }public override int WordCount { get; }

Methods

public override bool TryParseArgument(string input, CommandContext context, out VectorD result);

On this page