Package net.minecraft.command.argument
Interface CommandFunctionArgumentType.FunctionArgument
- Enclosing class:
- CommandFunctionArgumentType
public static interface CommandFunctionArgumentType.FunctionArgument
- Mappings:
Namespace Name official ff$aintermediary net/minecraft/class_2284$class_2285named net/minecraft/command/argument/CommandFunctionArgumentType$FunctionArgument
-
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.datafixers.util.Pair<Identifier,com.mojang.datafixers.util.Either<CommandFunction,Tag<CommandFunction>>>getFunctionOrTag(com.mojang.brigadier.context.CommandContext<ServerCommandSource> commandContext)getFunctions(com.mojang.brigadier.context.CommandContext<ServerCommandSource> commandContext)
-
Method Details
-
getFunctions
Collection<CommandFunction> getFunctions(com.mojang.brigadier.context.CommandContext<ServerCommandSource> commandContext) throws com.mojang.brigadier.exceptions.CommandSyntaxException- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
Namespace Name Mixin selector official aLff$a;a(Lcom/mojang/brigadier/context/CommandContext;)Ljava/util/Collection;intermediary method_9771Lnet/minecraft/class_2284$class_2285;method_9771(Lcom/mojang/brigadier/context/CommandContext;)Ljava/util/Collection;named getFunctionsLnet/minecraft/command/argument/CommandFunctionArgumentType$FunctionArgument;getFunctions(Lcom/mojang/brigadier/context/CommandContext;)Ljava/util/Collection;
-
getFunctionOrTag
com.mojang.datafixers.util.Pair<Identifier,com.mojang.datafixers.util.Either<CommandFunction,Tag<CommandFunction>>> getFunctionOrTag(com.mojang.brigadier.context.CommandContext<ServerCommandSource> commandContext) throws com.mojang.brigadier.exceptions.CommandSyntaxException- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
Namespace Name Mixin selector official bLff$a;b(Lcom/mojang/brigadier/context/CommandContext;)Lcom/mojang/datafixers/util/Pair;intermediary method_9770Lnet/minecraft/class_2284$class_2285;method_9770(Lcom/mojang/brigadier/context/CommandContext;)Lcom/mojang/datafixers/util/Pair;named getFunctionOrTagLnet/minecraft/command/argument/CommandFunctionArgumentType$FunctionArgument;getFunctionOrTag(Lcom/mojang/brigadier/context/CommandContext;)Lcom/mojang/datafixers/util/Pair;
-