Package net.minecraft.commands.arguments
Class RangeArgument.Ints
java.lang.Object
net.minecraft.commands.arguments.RangeArgument.Ints
- All Implemented Interfaces:
com.mojang.brigadier.arguments.ArgumentType<MinMaxBounds.Ints>
,RangeArgument<MinMaxBounds.Ints>
- Enclosing interface:
- RangeArgument<T extends MinMaxBounds<?>>
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.commands.arguments.RangeArgument
RangeArgument.Floats, RangeArgument.Ints
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic MinMaxBounds.Ints
getRange(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_105420_, String p_105421_)
parse(com.mojang.brigadier.StringReader p_105418_)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.mojang.brigadier.arguments.ArgumentType
listSuggestions
-
Field Details
-
EXAMPLES
-
-
Constructor Details
-
Ints
public Ints()
-
-
Method Details
-
getRange
public static MinMaxBounds.Ints getRange(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_105420_, String p_105421_) -
parse
public MinMaxBounds.Ints parse(com.mojang.brigadier.StringReader p_105418_) throws com.mojang.brigadier.exceptions.CommandSyntaxException- Specified by:
parse
in interfacecom.mojang.brigadier.arguments.ArgumentType<MinMaxBounds.Ints>
- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
getExamples
- Specified by:
getExamples
in interfacecom.mojang.brigadier.arguments.ArgumentType<MinMaxBounds.Ints>
-