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 java.lang.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
Fields Modifier and Type Field Description private static java.util.Collection<java.lang.String>
EXAMPLES
-
Constructor Summary
Constructors Constructor Description IntRange()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Collection<java.lang.String>
getExamples()
static MinMaxBounds.IntBound
getRange(com.mojang.brigadier.context.CommandContext<CommandSource> p_211372_0_, java.lang.String p_211372_1_)
MinMaxBounds.IntBound
parse(com.mojang.brigadier.StringReader p_parse_1_)
-
-
-
Method Detail
-
getRange
public static MinMaxBounds.IntBound getRange(com.mojang.brigadier.context.CommandContext<CommandSource> p_211372_0_, java.lang.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
public java.util.Collection<java.lang.String> getExamples()
- Specified by:
getExamples
in interfacecom.mojang.brigadier.arguments.ArgumentType<MinMaxBounds.IntBound>
-
-