Skip to content

ArgType

Namespace Mc.Scripting.Commands · Kind class (sealed)

public sealed class ArgType

The type of a command argument: what the client’s command tree shows (parser id + properties) and what the server parses. Create with the Arg factories.

Member Description
string RegistryName { get; } The vanilla argument type id, e.g.
public string RegistryName { get; }

The vanilla argument type id, e.g. “brigadier:integer” or “minecraft:entity”.

Member Description
override string ToString()
public override string ToString()

Returns string