Interface CommandFunctionArgumentType.FunctionArgument

Enclosing class:
CommandFunctionArgumentType

public static interface CommandFunctionArgumentType.FunctionArgument
Mappings:
Namespace Name
named net/minecraft/command/argument/CommandFunctionArgumentType$FunctionArgument
intermediary net/minecraft/class_2284$class_2285
official hb$a
  • Method Details

    • getFunctions

      Collection<CommandFunction<ServerCommandSource>> getFunctions(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      named getFunctions Lnet/minecraft/command/argument/CommandFunctionArgumentType$FunctionArgument;getFunctions(Lcom/mojang/brigadier/context/CommandContext;)Ljava/util/Collection;
      intermediary method_9771 Lnet/minecraft/class_2284$class_2285;method_9771(Lcom/mojang/brigadier/context/CommandContext;)Ljava/util/Collection;
      official a Lhb$a;a(Lcom/mojang/brigadier/context/CommandContext;)Ljava/util/Collection;
    • getFunctionOrTag

      com.mojang.datafixers.util.Pair<Identifier,com.mojang.datafixers.util.Either<CommandFunction<ServerCommandSource>,Collection<CommandFunction<ServerCommandSource>>>> getFunctionOrTag(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      named getFunctionOrTag Lnet/minecraft/command/argument/CommandFunctionArgumentType$FunctionArgument;getFunctionOrTag(Lcom/mojang/brigadier/context/CommandContext;)Lcom/mojang/datafixers/util/Pair;
      intermediary method_9770 Lnet/minecraft/class_2284$class_2285;method_9770(Lcom/mojang/brigadier/context/CommandContext;)Lcom/mojang/datafixers/util/Pair;
      official b Lhb$a;b(Lcom/mojang/brigadier/context/CommandContext;)Lcom/mojang/datafixers/util/Pair;
    • getIdentifiedFunctions

      com.mojang.datafixers.util.Pair<Identifier,Collection<CommandFunction<ServerCommandSource>>> getIdentifiedFunctions(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      named getIdentifiedFunctions Lnet/minecraft/command/argument/CommandFunctionArgumentType$FunctionArgument;getIdentifiedFunctions(Lcom/mojang/brigadier/context/CommandContext;)Lcom/mojang/datafixers/util/Pair;
      intermediary method_55591 Lnet/minecraft/class_2284$class_2285;method_55591(Lcom/mojang/brigadier/context/CommandContext;)Lcom/mojang/datafixers/util/Pair;
      official c Lhb$a;c(Lcom/mojang/brigadier/context/CommandContext;)Lcom/mojang/datafixers/util/Pair;