Skip to content

API reference Obsidian.API.Commands.ArgumentParsers

EntityTypeArgumentParser class

Reads an entity type by its identifier, like minecraft:zombie, which the client completes from its entity type registry.

public sealed class EntityTypeArgumentParser : BaseArgumentParser<EntityType>

In Obsidian.API.

Constructors

public EntityTypeArgumentParser();

Properties

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

Methods

public override bool TryParseArgument(string input, CommandContext ctx, out EntityType result);public override void Write(INetStreamWriter writer);

On this page