Package net.minecraft.command.argument
Class NumberRangeArgumentType.FloatRangeArgumentType
java.lang.Object
net.minecraft.command.argument.NumberRangeArgumentType.FloatRangeArgumentType
- All Implemented Interfaces:
com.mojang.brigadier.arguments.ArgumentType<NumberRange.DoubleRange>
,NumberRangeArgumentType<NumberRange.DoubleRange>
- Enclosing interface:
NumberRangeArgumentType<T extends NumberRange<?>>
public static class NumberRangeArgumentType.FloatRangeArgumentType
extends Object
implements NumberRangeArgumentType<NumberRange.DoubleRange>
- Mappings:
Namespace Name named net/minecraft/command/argument/NumberRangeArgumentType$FloatRangeArgumentType
intermediary net/minecraft/class_2224$class_2225
official fr$a
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.command.argument.NumberRangeArgumentType
NumberRangeArgumentType.FloatRangeArgumentType, NumberRangeArgumentType.IntRangeArgumentType
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic NumberRange.DoubleRange
getRangeArgument
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) parse
(com.mojang.brigadier.StringReader stringReader) 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, parse
-
Field Details
-
EXAMPLES
- Mappings:
Namespace Name Mixin selector named EXAMPLES
Lnet/minecraft/command/argument/NumberRangeArgumentType$FloatRangeArgumentType;EXAMPLES:Ljava/util/Collection;
intermediary field_9937
Lnet/minecraft/class_2224$class_2225;field_9937:Ljava/util/Collection;
official a
Lfr$a;a:Ljava/util/Collection;
-
-
Constructor Details
-
FloatRangeArgumentType
public FloatRangeArgumentType()
-
-
Method Details
-
getRangeArgument
public static NumberRange.DoubleRange getRangeArgument(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) - Mappings:
Namespace Name Mixin selector named getRangeArgument
Lnet/minecraft/command/argument/NumberRangeArgumentType$FloatRangeArgumentType;getRangeArgument(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/predicate/NumberRange$DoubleRange;
intermediary method_35738
Lnet/minecraft/class_2224$class_2225;method_35738(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/class_2096$class_2099;
official a
Lfr$a;a(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Ldh$c;
-
parse
public NumberRange.DoubleRange parse(com.mojang.brigadier.StringReader stringReader) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Specified by:
parse
in interfacecom.mojang.brigadier.arguments.ArgumentType<NumberRange.DoubleRange>
- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector named parse
Lnet/minecraft/command/argument/NumberRangeArgumentType$FloatRangeArgumentType;parse(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/predicate/NumberRange$DoubleRange;
intermediary method_9423
Lnet/minecraft/class_2224$class_2225;method_9423(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/class_2096$class_2099;
official a
Lfr$a;a(Lcom/mojang/brigadier/StringReader;)Ldh$c;
-
getExamples
- Specified by:
getExamples
in interfacecom.mojang.brigadier.arguments.ArgumentType<NumberRange.DoubleRange>
-