Class FunctionCommand

java.lang.Object
net.minecraft.server.command.FunctionCommand

public class FunctionCommand extends Object
Mappings:
Namespace Name
official aia
intermediary net/minecraft/class_3062
named net/minecraft/server/command/FunctionCommand
  • Field Details

    • ARGUMENT_NOT_COMPOUND_EXCEPTION

      private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType ARGUMENT_NOT_COMPOUND_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      official b Laia;b:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
      intermediary field_44982 Lnet/minecraft/class_3062;field_44982:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
      named ARGUMENT_NOT_COMPOUND_EXCEPTION Lnet/minecraft/server/command/FunctionCommand;ARGUMENT_NOT_COMPOUND_EXCEPTION:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
    • field_46644

      static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType field_46644
      Mappings:
      Namespace Name Mixin selector
      official c Laia;c:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
      intermediary field_46644 Lnet/minecraft/class_3062;field_46644:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
      named field_46644 Lnet/minecraft/server/command/FunctionCommand;field_46644:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
    • field_46645

      private static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType field_46645
      Mappings:
      Namespace Name Mixin selector
      official d Laia;d:Lcom/mojang/brigadier/exceptions/Dynamic2CommandExceptionType;
      intermediary field_46645 Lnet/minecraft/class_3062;field_46645:Lcom/mojang/brigadier/exceptions/Dynamic2CommandExceptionType;
      named field_46645 Lnet/minecraft/server/command/FunctionCommand;field_46645:Lcom/mojang/brigadier/exceptions/Dynamic2CommandExceptionType;
    • SUGGESTION_PROVIDER

      public static final com.mojang.brigadier.suggestion.SuggestionProvider<ServerCommandSource> SUGGESTION_PROVIDER
      Mappings:
      Namespace Name Mixin selector
      official a Laia;a:Lcom/mojang/brigadier/suggestion/SuggestionProvider;
      intermediary field_13662 Lnet/minecraft/class_3062;field_13662:Lcom/mojang/brigadier/suggestion/SuggestionProvider;
      named SUGGESTION_PROVIDER Lnet/minecraft/server/command/FunctionCommand;SUGGESTION_PROVIDER:Lcom/mojang/brigadier/suggestion/SuggestionProvider;
    • field_46646

      Mappings:
      Namespace Name Mixin selector
      official e Laia;e:Laia$a;
      intermediary field_46646 Lnet/minecraft/class_3062;field_46646:Lnet/minecraft/class_3062$class_8832;
      named field_46646 Lnet/minecraft/server/command/FunctionCommand;field_46646:Lnet/minecraft/server/command/FunctionCommand$class_8832;
  • Constructor Details

    • FunctionCommand

      public FunctionCommand()
  • Method Details

    • register

      public static void register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
      Mappings:
      Namespace Name Mixin selector
      official a Laia;a(Lcom/mojang/brigadier/CommandDispatcher;)V
      intermediary method_13380 Lnet/minecraft/class_3062;method_13380(Lcom/mojang/brigadier/CommandDispatcher;)V
      named register Lnet/minecraft/server/command/FunctionCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)V
    • getArgument

      static NbtCompound getArgument(NbtPathArgumentType.NbtPath path, DataCommandObject object) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      official a Laia;a(Lel$g;Lakg;)Lrt;
      intermediary method_52313 Lnet/minecraft/class_3062;method_52313(Lnet/minecraft/class_2203$class_2209;Lnet/minecraft/class_3162;)Lnet/minecraft/class_2487;
      named getArgument Lnet/minecraft/server/command/FunctionCommand;getArgument(Lnet/minecraft/command/argument/NbtPathArgumentType$NbtPath;Lnet/minecraft/command/DataCommandObject;)Lnet/minecraft/nbt/NbtCompound;
    • method_54272

      public static ServerCommandSource method_54272(ServerCommandSource serverCommandSource)
      Mappings:
      Namespace Name Mixin selector
      official a Laia;a(Ldu;)Ldu;
      intermediary method_54272 Lnet/minecraft/class_3062;method_54272(Lnet/minecraft/class_2168;)Lnet/minecraft/class_2168;
      named method_54272 Lnet/minecraft/server/command/FunctionCommand;method_54272(Lnet/minecraft/server/command/ServerCommandSource;)Lnet/minecraft/server/command/ServerCommandSource;
    • method_54275

      public static <T extends class_8839<T>> void method_54275(Collection<CommandFunction<T>> collection, @Nullable @Nullable NbtCompound nbtCompound, T t, T t2, class_8855<T> class_8855, FunctionCommand.class_8832<T> class_8832) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      official a Laia;a(Ljava/util/Collection;Lrt;Ldw;Ldw;Lgo;Laia$a;)V
      intermediary method_54275 Lnet/minecraft/class_3062;method_54275(Ljava/util/Collection;Lnet/minecraft/class_2487;Lnet/minecraft/class_8839;Lnet/minecraft/class_8839;Lnet/minecraft/class_8855;Lnet/minecraft/class_3062$class_8832;)V
      named method_54275 Lnet/minecraft/server/command/FunctionCommand;method_54275(Ljava/util/Collection;Lnet/minecraft/nbt/NbtCompound;Lnet/minecraft/class_8839;Lnet/minecraft/class_8839;Lnet/minecraft/class_8855;Lnet/minecraft/server/command/FunctionCommand$class_8832;)V