Class FunctionCommand

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

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

    • SUGGESTION_PROVIDER

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

      private static int execute(ServerCommandSource source, Collection<CommandFunction> functions)
      Mappings:
      Namespace Name Mixin selector
      official a Lzv;a(Ldm;Ljava/util/Collection;)I
      intermediary method_13381 Lnet/minecraft/class_3062;method_13381(Lnet/minecraft/class_2168;Ljava/util/Collection;)I
      named execute Lnet/minecraft/server/command/FunctionCommand;execute(Lnet/minecraft/server/command/ServerCommandSource;Ljava/util/Collection;)I