Skip to content

API reference Obsidian.API.Commands.ArgumentParsers

ResourceLocationArgumentParser class

Reads an identifier like vanilla's resource_location arguments.

public sealed class ResourceLocationArgumentParser : BaseArgumentParser<ResourceLocation>

In Obsidian.API.

Constructors

public ResourceLocationArgumentParser();

Properties

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

Methods

public override bool TryParseArgument(string input, CommandContext ctx, out ResourceLocation result);

On this page