public static class IRangeArgument.IntRange extends java.lang.Object implements IRangeArgument<MinMaxBounds.IntBound>
Modifier and Type | Class and Description |
---|---|
static class |
IRangeArgument.IntRange.Serializer |
IRangeArgument.FloatRange, IRangeArgument.IntRange
Modifier and Type | Field and Description |
---|---|
private static java.util.Collection<java.lang.String> |
EXAMPLES |
Constructor and Description |
---|
IntRange() |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<java.lang.String> |
getExamples() |
static MinMaxBounds.IntBound |
getIntRange(com.mojang.brigadier.context.CommandContext<CommandSource> context,
java.lang.String name) |
MinMaxBounds.IntBound |
parse(com.mojang.brigadier.StringReader p_parse_1_) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
intRange
public static MinMaxBounds.IntBound getIntRange(com.mojang.brigadier.context.CommandContext<CommandSource> context, java.lang.String name)
public MinMaxBounds.IntBound parse(com.mojang.brigadier.StringReader p_parse_1_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
parse
in interface com.mojang.brigadier.arguments.ArgumentType<MinMaxBounds.IntBound>
com.mojang.brigadier.exceptions.CommandSyntaxException
public java.util.Collection<java.lang.String> getExamples()
getExamples
in interface com.mojang.brigadier.arguments.ArgumentType<MinMaxBounds.IntBound>