Skip to content

API reference Obsidian.API.Commands.ArgumentParsers

BlockPositionArgumentParser class

Reads a block's position like vanilla's block_pos arguments: three coordinates, each a whole number, ~ relative or all ^ local, naming the block they fall in.

public sealed class BlockPositionArgumentParser : BaseArgumentParser<Vector>

In Obsidian.API.

Constructors

public BlockPositionArgumentParser();

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 Vector result);

On this page