Package net.minecraft.commands.arguments
Class RangeArgument.Floats
java.lang.Object
net.minecraft.commands.arguments.RangeArgument.Floats
- All Implemented Interfaces:
com.mojang.brigadier.arguments.ArgumentType<MinMaxBounds.Doubles>
,RangeArgument<MinMaxBounds.Doubles>
- Enclosing interface:
- RangeArgument<T extends MinMaxBounds<?>>
public static class RangeArgument.Floats
extends Object
implements RangeArgument<MinMaxBounds.Doubles>
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.commands.arguments.RangeArgument
RangeArgument.Floats, RangeArgument.Ints
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic MinMaxBounds.Doubles
getRange
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_170805_, String p_170806_) parse
(com.mojang.brigadier.StringReader p_170803_) 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
-
Floats
public Floats()
-
-
Method Details
-
getRange
public static MinMaxBounds.Doubles getRange(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_170805_, String p_170806_) -
parse
public MinMaxBounds.Doubles parse(com.mojang.brigadier.StringReader p_170803_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Specified by:
parse
in interfacecom.mojang.brigadier.arguments.ArgumentType<MinMaxBounds.Doubles>
- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
getExamples
- Specified by:
getExamples
in interfacecom.mojang.brigadier.arguments.ArgumentType<MinMaxBounds.Doubles>
-