public static class NumberRangeArgumentType.IntRangeArgumentType extends Object implements NumberRangeArgumentType<NumberRange.IntRange>
NumberRangeArgumentType.FloatRangeArgumentType, NumberRangeArgumentType.IntRangeArgumentType
Modifier and Type | Field and Description |
---|---|
private static Collection<String> |
EXAMPLES |
Constructor and Description |
---|
IntRangeArgumentType() |
Modifier and Type | Method and Description |
---|---|
Collection<String> |
getExamples() |
static NumberRange.IntRange |
getRangeArgument(com.mojang.brigadier.context.CommandContext<ServerCommandSource> commandContext,
String string) |
NumberRange.IntRange |
parse(com.mojang.brigadier.StringReader stringReader) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
method_30918, numberRange
private static final Collection<String> EXAMPLES
public static NumberRange.IntRange getRangeArgument(com.mojang.brigadier.context.CommandContext<ServerCommandSource> commandContext, String string)
public NumberRange.IntRange parse(com.mojang.brigadier.StringReader stringReader) throws com.mojang.brigadier.exceptions.CommandSyntaxException
parse
in interface com.mojang.brigadier.arguments.ArgumentType<NumberRange.IntRange>
com.mojang.brigadier.exceptions.CommandSyntaxException
public Collection<String> getExamples()
getExamples
in interface com.mojang.brigadier.arguments.ArgumentType<NumberRange.IntRange>