Class FunctionCommand

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

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

    • field_44982

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

      public static final com.mojang.brigadier.suggestion.SuggestionProvider<ServerCommandSource> SUGGESTION_PROVIDER
      Mappings:
      Namespace Name Mixin selector
      official a Lagt;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;
  • Constructor Details

    • FunctionCommand

      public FunctionCommand()
  • Method Details

    • register

      public static void register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> commandDispatcher)
      Mappings:
      Namespace Name Mixin selector
      official a Lagt;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
    • method_52313

      private static NbtCompound method_52313(NbtPathArgumentType.NbtPath nbtPath, DataCommandObject dataCommandObject) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      official a Lagt;a(Lei$g;Laiz;)Lqs;
      intermediary method_52313 Lnet/minecraft/class_3062;method_52313(Lnet/minecraft/class_2203$class_2209;Lnet/minecraft/class_3162;)Lnet/minecraft/class_2487;
      named method_52313 Lnet/minecraft/server/command/FunctionCommand;method_52313(Lnet/minecraft/command/argument/NbtPathArgumentType$NbtPath;Lnet/minecraft/command/DataCommandObject;)Lnet/minecraft/nbt/NbtCompound;
    • execute

      private static int execute(ServerCommandSource source, Collection<CommandFunction> functions, @Nullable @Nullable NbtCompound nbtCompound)
      Mappings:
      Namespace Name Mixin selector
      official a Lagt;a(Lds;Ljava/util/Collection;Lqs;)I
      intermediary method_13381 Lnet/minecraft/class_3062;method_13381(Lnet/minecraft/class_2168;Ljava/util/Collection;Lnet/minecraft/class_2487;)I
      named execute Lnet/minecraft/server/command/FunctionCommand;execute(Lnet/minecraft/server/command/ServerCommandSource;Ljava/util/Collection;Lnet/minecraft/nbt/NbtCompound;)I
    • method_52312

      public static FunctionCommand.class_8601 method_52312(ServerCommandSource serverCommandSource, CommandFunction commandFunction, @Nullable @Nullable NbtCompound nbtCompound) throws class_8643
      Throws:
      class_8643
      Mappings:
      Namespace Name Mixin selector
      official a Lagt;a(Lds;Ldn;Lqs;)Lagt$a;
      intermediary method_52312 Lnet/minecraft/class_3062;method_52312(Lnet/minecraft/class_2168;Lnet/minecraft/class_2158;Lnet/minecraft/class_2487;)Lnet/minecraft/class_3062$class_8601;
      named method_52312 Lnet/minecraft/server/command/FunctionCommand;method_52312(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/server/function/CommandFunction;Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/server/command/FunctionCommand$class_8601;