Package net.minecraft.command.argument
Class CommandFunctionArgumentType
java.lang.Object
net.minecraft.command.argument.CommandFunctionArgumentType
- All Implemented Interfaces:
 com.mojang.brigadier.arguments.ArgumentType<CommandFunctionArgumentType.FunctionArgument>
public class CommandFunctionArgumentType
extends Object
implements com.mojang.brigadier.arguments.ArgumentType<CommandFunctionArgumentType.FunctionArgument>
- Mappings:
 Namespace Name named net/minecraft/command/argument/CommandFunctionArgumentTypeintermediary net/minecraft/class_2284official hf
- 
Nested Class Summary
Nested Classes - 
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Collection<String> private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionTypeprivate static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic CommandFunctionArgumentType(package private) static CommandFunction<ServerCommandSource> getFunction(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, Identifier id) static com.mojang.datafixers.util.Pair<Identifier, com.mojang.datafixers.util.Either<CommandFunction<ServerCommandSource>, Collection<CommandFunction<ServerCommandSource>>>> getFunctionOrTag(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static Collection<CommandFunction<ServerCommandSource>> getFunctions(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) (package private) static Collection<CommandFunction<ServerCommandSource>> getFunctionTag(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, Identifier id) static com.mojang.datafixers.util.Pair<Identifier, Collection<CommandFunction<ServerCommandSource>>> getIdentifiedFunctions(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, waitMethods inherited from interface com.mojang.brigadier.arguments.ArgumentType
listSuggestions, parse 
- 
Field Details
- 
EXAMPLES
- Mappings:
 Namespace Name Mixin selector named EXAMPLESLnet/minecraft/command/argument/CommandFunctionArgumentType;EXAMPLES:Ljava/util/Collection;intermediary field_10783Lnet/minecraft/class_2284;field_10783:Ljava/util/Collection;official aLhf;a:Ljava/util/Collection;
 - 
UNKNOWN_FUNCTION_TAG_EXCEPTION
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType UNKNOWN_FUNCTION_TAG_EXCEPTION- Mappings:
 Namespace Name Mixin selector named UNKNOWN_FUNCTION_TAG_EXCEPTIONLnet/minecraft/command/argument/CommandFunctionArgumentType;UNKNOWN_FUNCTION_TAG_EXCEPTION:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;intermediary field_10782Lnet/minecraft/class_2284;field_10782:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;official bLhf;b:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
 - 
UNKNOWN_FUNCTION_EXCEPTION
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType UNKNOWN_FUNCTION_EXCEPTION- Mappings:
 Namespace Name Mixin selector named UNKNOWN_FUNCTION_EXCEPTIONLnet/minecraft/command/argument/CommandFunctionArgumentType;UNKNOWN_FUNCTION_EXCEPTION:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;intermediary field_10784Lnet/minecraft/class_2284;field_10784:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;official cLhf;c:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
 
 - 
 - 
Constructor Details
- 
CommandFunctionArgumentType
public CommandFunctionArgumentType() 
 - 
 - 
Method Details
- 
commandFunction
- Mappings:
 Namespace Name Mixin selector named commandFunctionLnet/minecraft/command/argument/CommandFunctionArgumentType;commandFunction()Lnet/minecraft/command/argument/CommandFunctionArgumentType;intermediary method_9760Lnet/minecraft/class_2284;method_9760()Lnet/minecraft/class_2284;official aLhf;a()Lhf;
 - 
parse
public CommandFunctionArgumentType.FunctionArgument parse(com.mojang.brigadier.StringReader stringReader) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Specified by:
 parsein interfacecom.mojang.brigadier.arguments.ArgumentType<CommandFunctionArgumentType.FunctionArgument>- Throws:
 com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
 Namespace Name Mixin selector named parseLnet/minecraft/command/argument/CommandFunctionArgumentType;parse(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/command/argument/CommandFunctionArgumentType$FunctionArgument;intermediary method_9764Lnet/minecraft/class_2284;method_9764(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/class_2284$class_2285;official aLhf;a(Lcom/mojang/brigadier/StringReader;)Lhf$a;
 - 
getFunction
static CommandFunction<ServerCommandSource> getFunction(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, Identifier id) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
 com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
 Namespace Name Mixin selector named getFunctionLnet/minecraft/command/argument/CommandFunctionArgumentType;getFunction(Lcom/mojang/brigadier/context/CommandContext;Lnet/minecraft/util/Identifier;)Lnet/minecraft/server/function/CommandFunction;intermediary method_9761Lnet/minecraft/class_2284;method_9761(Lcom/mojang/brigadier/context/CommandContext;Lnet/minecraft/class_2960;)Lnet/minecraft/class_2158;official aLhf;a(Lcom/mojang/brigadier/context/CommandContext;Lakv;)Lil;
 - 
getFunctionTag
static Collection<CommandFunction<ServerCommandSource>> getFunctionTag(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, Identifier id) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
 com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
 Namespace Name Mixin selector named getFunctionTagLnet/minecraft/command/argument/CommandFunctionArgumentType;getFunctionTag(Lcom/mojang/brigadier/context/CommandContext;Lnet/minecraft/util/Identifier;)Ljava/util/Collection;intermediary method_9767Lnet/minecraft/class_2284;method_9767(Lcom/mojang/brigadier/context/CommandContext;Lnet/minecraft/class_2960;)Ljava/util/Collection;official bLhf;b(Lcom/mojang/brigadier/context/CommandContext;Lakv;)Ljava/util/Collection;
 - 
getFunctions
public static Collection<CommandFunction<ServerCommandSource>> getFunctions(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
 com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
 Namespace Name Mixin selector named getFunctionsLnet/minecraft/command/argument/CommandFunctionArgumentType;getFunctions(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Ljava/util/Collection;intermediary method_9769Lnet/minecraft/class_2284;method_9769(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Ljava/util/Collection;official aLhf;a(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Ljava/util/Collection;
 - 
getFunctionOrTag
public static com.mojang.datafixers.util.Pair<Identifier,com.mojang.datafixers.util.Either<CommandFunction<ServerCommandSource>, getFunctionOrTagCollection<CommandFunction<ServerCommandSource>>>> (com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
 com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
 Namespace Name Mixin selector named getFunctionOrTagLnet/minecraft/command/argument/CommandFunctionArgumentType;getFunctionOrTag(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lcom/mojang/datafixers/util/Pair;intermediary method_9768Lnet/minecraft/class_2284;method_9768(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lcom/mojang/datafixers/util/Pair;official bLhf;b(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lcom/mojang/datafixers/util/Pair;
 - 
getIdentifiedFunctions
public static com.mojang.datafixers.util.Pair<Identifier,Collection<CommandFunction<ServerCommandSource>>> getIdentifiedFunctions(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
 com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
 Namespace Name Mixin selector named getIdentifiedFunctionsLnet/minecraft/command/argument/CommandFunctionArgumentType;getIdentifiedFunctions(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lcom/mojang/datafixers/util/Pair;intermediary method_55590Lnet/minecraft/class_2284;method_55590(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lcom/mojang/datafixers/util/Pair;official cLhf;c(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lcom/mojang/datafixers/util/Pair;
 - 
getExamples
- Specified by:
 getExamplesin interfacecom.mojang.brigadier.arguments.ArgumentType<CommandFunctionArgumentType.FunctionArgument>
 
 -