Class ArgumentFloatRange
java.lang.Object
net.minestom.server.command.builder.arguments.Argument<Range.Float>
net.minestom.server.command.builder.arguments.minecraft.ArgumentRange<Range.Float,Float>
net.minestom.server.command.builder.arguments.minecraft.ArgumentFloatRange
Represents an argument which will give you an
Range.Float
.
Example: ..3, 3.., 5..10, 15
-
Field Summary
Fields inherited from class net.minestom.server.command.builder.arguments.minecraft.ArgumentRange
FORMAT_ERROR
Fields inherited from class net.minestom.server.command.builder.arguments.Argument
allowSpace, suggestionType, useRemaining
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minestom.server.command.builder.arguments.minecraft.ArgumentRange
parse
Methods inherited from class net.minestom.server.command.builder.arguments.Argument
allowSpace, equals, filter, getCallback, getDefaultValue, getId, getSuggestionCallback, hasErrorCallback, hashCode, hasSuggestion, isOptional, map, map, nodeProperties, parse, setCallback, setDefaultValue, setDefaultValue, setDefaultValue, setSuggestionCallback, suggestionType, useRemaining
-
Constructor Details
-
ArgumentFloatRange
-
-
Method Details
-
parser
- Specified by:
parser
in classArgument<Range.Float>
-
toString
-