Class ArgumentFloatRange
java.lang.Object
net.minestom.server.command.builder.arguments.Argument<FloatRange>
net.minestom.server.command.builder.arguments.minecraft.ArgumentRange<FloatRange,Float>
net.minestom.server.command.builder.arguments.minecraft.ArgumentFloatRange
Represents an argument which will give you an
FloatRange
.
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, CONTAINER, 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<FloatRange>
-
toString
-