Package net.forthecrown.grenadier.types
Interface DoubleRangeArgument
- All Superinterfaces:
ArgumentType<DoubleRangeArgument.DoubleRange>
Argument type that returns a range between 2 double values. The range
parsed by this argument type is inclusive on both ends.
Input examples:
1..2 = Between 1 and 2 ..2.5 = At most 2.5 3.1.. = At least 3.1 .. = Unlimited range
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Range between double values -
Method Summary
Methods inherited from interface com.mojang.brigadier.arguments.ArgumentType
getExamples, listSuggestions
-
Method Details
-
parse
- Specified by:
parse
in interfaceArgumentType<DoubleRangeArgument.DoubleRange>
- Throws:
CommandSyntaxException
-