Package net.minecraft.command.argument
Class IdentifierArgumentType
java.lang.Object
net.minecraft.command.argument.IdentifierArgumentType
- All Implemented Interfaces:
com.mojang.brigadier.arguments.ArgumentType<Identifier>
public class IdentifierArgumentType
extends Object
implements com.mojang.brigadier.arguments.ArgumentType<Identifier>
- Mappings:
Namespace Name named net/minecraft/command/argument/IdentifierArgumentType
intermediary net/minecraft/class_2232
official fx
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Identifier
getIdentifier
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static IdentifierArgumentType
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/IdentifierArgumentType;EXAMPLES:Ljava/util/Collection;
intermediary field_9946
Lnet/minecraft/class_2232;field_9946:Ljava/util/Collection;
official a
Lfx;a:Ljava/util/Collection;
-
-
Constructor Details
-
IdentifierArgumentType
public IdentifierArgumentType()
-
-
Method Details
-
identifier
- Mappings:
Namespace Name Mixin selector named identifier
Lnet/minecraft/command/argument/IdentifierArgumentType;identifier()Lnet/minecraft/command/argument/IdentifierArgumentType;
intermediary method_9441
Lnet/minecraft/class_2232;method_9441()Lnet/minecraft/class_2232;
official a
Lfx;a()Lfx;
-
getIdentifier
public static Identifier getIdentifier(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) - Mappings:
Namespace Name Mixin selector named getIdentifier
Lnet/minecraft/command/argument/IdentifierArgumentType;getIdentifier(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/util/Identifier;
intermediary method_9443
Lnet/minecraft/class_2232;method_9443(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/class_2960;
official a
Lfx;a(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lalz;
-
parse
public Identifier parse(com.mojang.brigadier.StringReader stringReader) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Specified by:
parse
in interfacecom.mojang.brigadier.arguments.ArgumentType<Identifier>
- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector named parse
Lnet/minecraft/command/argument/IdentifierArgumentType;parse(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/util/Identifier;
intermediary method_9446
Lnet/minecraft/class_2232;method_9446(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/class_2960;
official a
Lfx;a(Lcom/mojang/brigadier/StringReader;)Lalz;
-
getExamples
- Specified by:
getExamples
in interfacecom.mojang.brigadier.arguments.ArgumentType<Identifier>
-