Package net.minecraft.command.argument
Class NumberRangeArgumentType.IntRangeArgumentType
java.lang.Object
net.minecraft.command.argument.NumberRangeArgumentType.IntRangeArgumentType
- All Implemented Interfaces:
com.mojang.brigadier.arguments.ArgumentType<NumberRange.IntRange>
,NumberRangeArgumentType<NumberRange.IntRange>
- Enclosing interface:
- NumberRangeArgumentType<T extends NumberRange<?>>
public static class NumberRangeArgumentType.IntRangeArgumentType extends Object implements NumberRangeArgumentType<NumberRange.IntRange>
- Mappings:
Namespace Name official dx$b
intermediary net/minecraft/class_2224$class_2227
named net/minecraft/command/argument/NumberRangeArgumentType$IntRangeArgumentType
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.command.argument.NumberRangeArgumentType
NumberRangeArgumentType.FloatRangeArgumentType, NumberRangeArgumentType.IntRangeArgumentType
-
Field Summary
Fields Modifier and Type Field Description private static Collection<String>
EXAMPLES
-
Constructor Summary
Constructors Constructor Description IntRangeArgumentType()
-
Method Summary
Modifier and Type Method Description Collection<String>
getExamples()
static NumberRange.IntRange
getRangeArgument(com.mojang.brigadier.context.CommandContext<ServerCommandSource> commandContext, String string)
NumberRange.IntRange
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
-
Field Details
-
EXAMPLES
- Mappings:
Namespace Name Mixin selector official a
Ldx$b;a:Ljava/util/Collection;
intermediary field_9938
Lnet/minecraft/class_2224$class_2227;field_9938:Ljava/util/Collection;
named EXAMPLES
Lnet/minecraft/command/argument/NumberRangeArgumentType$IntRangeArgumentType;EXAMPLES:Ljava/util/Collection;
-
-
Constructor Details
-
IntRangeArgumentType
public IntRangeArgumentType()
-
-
Method Details
-
getRangeArgument
public static NumberRange.IntRange getRangeArgument(com.mojang.brigadier.context.CommandContext<ServerCommandSource> commandContext, String string)- Mappings:
Namespace Name Mixin selector official a
Ldx$b;a(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lbz$d;
intermediary method_9425
Lnet/minecraft/class_2224$class_2227;method_9425(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/class_2096$class_2100;
named getRangeArgument
Lnet/minecraft/command/argument/NumberRangeArgumentType$IntRangeArgumentType;getRangeArgument(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/predicate/NumberRange$IntRange;
-
parse
public NumberRange.IntRange parse(com.mojang.brigadier.StringReader stringReader) throws com.mojang.brigadier.exceptions.CommandSyntaxException- Specified by:
parse
in interfacecom.mojang.brigadier.arguments.ArgumentType<NumberRange.IntRange>
- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector official a
Ldx$b;a(Lcom/mojang/brigadier/StringReader;)Lbz$d;
intermediary method_9426
Lnet/minecraft/class_2224$class_2227;method_9426(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/class_2096$class_2100;
named parse
Lnet/minecraft/command/argument/NumberRangeArgumentType$IntRangeArgumentType;parse(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/predicate/NumberRange$IntRange;
-
getExamples
- Specified by:
getExamples
in interfacecom.mojang.brigadier.arguments.ArgumentType<NumberRange.IntRange>
- Mappings:
Namespace Name Mixin selector official getExamples
Ldx$b;getExamples()Ljava/util/Collection;
intermediary getExamples
Lnet/minecraft/class_2224$class_2227;getExamples()Ljava/util/Collection;
named getExamples
Lnet/minecraft/command/argument/NumberRangeArgumentType$IntRangeArgumentType;getExamples()Ljava/util/Collection;
-