Class RecipeCommand

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

public class RecipeCommand extends Object
Mappings:
Namespace Name
named net/minecraft/server/command/RecipeCommand
intermediary net/minecraft/class_3095
official anv
  • Field Details

    • GIVE_FAILED_EXCEPTION

      private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType GIVE_FAILED_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      named GIVE_FAILED_EXCEPTION Lnet/minecraft/server/command/RecipeCommand;GIVE_FAILED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      intermediary field_13681 Lnet/minecraft/class_3095;field_13681:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      official a Lanv;a:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
    • TAKE_FAILED_EXCEPTION

      private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType TAKE_FAILED_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      named TAKE_FAILED_EXCEPTION Lnet/minecraft/server/command/RecipeCommand;TAKE_FAILED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      intermediary field_13682 Lnet/minecraft/class_3095;field_13682:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      official b Lanv;b:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
  • Constructor Details

    • RecipeCommand

      public RecipeCommand()
  • Method Details

    • register

      public static void register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
      Mappings:
      Namespace Name Mixin selector
      named register Lnet/minecraft/server/command/RecipeCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)V
      intermediary method_13517 Lnet/minecraft/class_3095;method_13517(Lcom/mojang/brigadier/CommandDispatcher;)V
      official a Lanv;a(Lcom/mojang/brigadier/CommandDispatcher;)V
    • executeGive

      private static int executeGive(ServerCommandSource source, Collection<ServerPlayerEntity> targets, Collection<RecipeEntry<?>> recipes) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      named executeGive Lnet/minecraft/server/command/RecipeCommand;executeGive(Lnet/minecraft/server/command/ServerCommandSource;Ljava/util/Collection;Ljava/util/Collection;)I
      intermediary method_13520 Lnet/minecraft/class_3095;method_13520(Lnet/minecraft/class_2168;Ljava/util/Collection;Ljava/util/Collection;)I
      official a Lanv;a(Let;Ljava/util/Collection;Ljava/util/Collection;)I
    • executeTake

      private static int executeTake(ServerCommandSource source, Collection<ServerPlayerEntity> targets, Collection<RecipeEntry<?>> recipes) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      named executeTake Lnet/minecraft/server/command/RecipeCommand;executeTake(Lnet/minecraft/server/command/ServerCommandSource;Ljava/util/Collection;Ljava/util/Collection;)I
      intermediary method_13518 Lnet/minecraft/class_3095;method_13518(Lnet/minecraft/class_2168;Ljava/util/Collection;Ljava/util/Collection;)I
      official b Lanv;b(Let;Ljava/util/Collection;Ljava/util/Collection;)I