Class RequiredArgumentBuilderExtensions
Namespace: Void.Minecraft.Commands.Brigadier.Extensions
Assembly: Void.Minecraft.dll
public static class RequiredArgumentBuilderExtensionsInheritance
object ← RequiredArgumentBuilderExtensions
Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
Methods
Argument(IArgumentContext, string, IArgumentType)
Creates a
public static RequiredArgumentBuilder Argument(this IArgumentContext _, string name, IArgumentType type)Parameters
The command argument context used to scope the builder factory.
name string
The argument name that will be assigned to the resulting command node.
type IArgumentType
The parser and suggestion behavior for the argument value.
Returns
A required argument builder configured with name and type.
Remarks
The _ receiver is not inspected; it only makes the factory available inside command registration delegates.
This method delegates to