Class Arguments
Namespace: Void.Minecraft.Commands.Brigadier
Assembly: Void.Minecraft.dll
public class ArgumentsInheritance
Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
Methods
Bool()
public static BoolArgumentType Bool()Returns
Double(double, double)
public static DoubleArgumentType Double(double min = -1.7976931348623157E+308, double max = 1.7976931348623157E+308)Parameters
min double
max double
Returns
Float(float, float)
public static FloatArgumentType Float(float min = -3.4028235E+38, float max = 3.4028235E+38)Parameters
min float
max float
Returns
GetBool(CommandContext, string)
public static bool GetBool(CommandContext context, string name)Parameters
context CommandContext
name string
Returns
GetDouble(CommandContext, string)
public static double GetDouble(CommandContext context, string name)Parameters
context CommandContext
name string
Returns
GetFloat(CommandContext, string)
public static float GetFloat(CommandContext context, string name)Parameters
context CommandContext
name string
Returns
GetInteger(CommandContext, string)
public static int GetInteger(CommandContext context, string name)Parameters
context CommandContext
name string
Returns
GetLong(CommandContext, string)
public static long GetLong(CommandContext context, string name)Parameters
context CommandContext
name string
Returns
GetString(CommandContext, string)
public static string GetString(CommandContext context, string name)Parameters
context CommandContext
name string
Returns
GreedyString()
public static StringArgumentType GreedyString()Returns
Integer(int, int)
public static IntegerArgumentType Integer(int min = -2147483648, int max = 2147483647)Parameters
min int
max int
Returns
Long(long, long)
public static LongArgumentType Long(long min = -9223372036854775808, long max = 9223372036854775807)Parameters
min long
max long
Returns
String()
public static StringArgumentType String()Returns
Word()
public static StringArgumentType Word()