public static class RangeArgument.IntRange extends java.lang.Object implements RangeArgument<MinMaxBounds.IntBound>
Modifier and Type | Class and Description |
---|---|
static class |
RangeArgument.IntRange.Serializer |
RangeArgument.FloatRange, RangeArgument.IntRange
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
func_211371_a
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>