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 apf
  • 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 Lapf;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 Lapf;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 Lapf;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 Lapf;a(Lew;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 Lapf;b(Lew;Ljava/util/Collection;Ljava/util/Collection;)I