Package net.minecraft.command.arguments
Class IRangeArgument.IntRange
java.lang.Object
net.minecraft.command.arguments.IRangeArgument.IntRange
- All Implemented Interfaces:
com.mojang.brigadier.arguments.ArgumentType<MinMaxBounds.IntBound>
,IRangeArgument<MinMaxBounds.IntBound>
- Enclosing interface:
- IRangeArgument<T extends MinMaxBounds<?>>
public static class IRangeArgument.IntRange
extends Object
implements IRangeArgument<MinMaxBounds.IntBound>
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.command.arguments.IRangeArgument
IRangeArgument.FloatRange, IRangeArgument.IntRange
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic MinMaxBounds.IntBound
getRange
(com.mojang.brigadier.context.CommandContext<CommandSource> p_211372_0_, String p_211372_1_) parse
(com.mojang.brigadier.StringReader p_parse_1_) 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
-
IntRange
public IntRange()
-
-
Method Details
-
getRange
public static MinMaxBounds.IntBound getRange(com.mojang.brigadier.context.CommandContext<CommandSource> p_211372_0_, String p_211372_1_) -
parse
public MinMaxBounds.IntBound parse(com.mojang.brigadier.StringReader p_parse_1_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Specified by:
parse
in interfacecom.mojang.brigadier.arguments.ArgumentType<MinMaxBounds.IntBound>
- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
getExamples
- Specified by:
getExamples
in interfacecom.mojang.brigadier.arguments.ArgumentType<MinMaxBounds.IntBound>
-