Class RecipeDispatcher

java.lang.Object
net.minecraft.recipe.RecipeDispatcher

public class RecipeDispatcher extends Object
Mappings:
Namespace Name
official afv
intermediary net/minecraft/class_1112
named net/minecraft/recipe/RecipeDispatcher
  • Field Details

    • INSTANCE

      private static final RecipeDispatcher INSTANCE
      Mappings:
      Namespace Name Mixin selector
      official a Lafv;a:Lafv;
      intermediary field_4434 Lnet/minecraft/class_1112;field_4434:Lnet/minecraft/class_1112;
      named INSTANCE Lnet/minecraft/recipe/RecipeDispatcher;INSTANCE:Lnet/minecraft/recipe/RecipeDispatcher;
    • recipes

      private final List<RecipeType> recipes
      Mappings:
      Namespace Name Mixin selector
      official b Lafv;b:Ljava/util/List;
      intermediary field_4435 Lnet/minecraft/class_1112;field_4435:Ljava/util/List;
      named recipes Lnet/minecraft/recipe/RecipeDispatcher;recipes:Ljava/util/List;
  • Constructor Details

    • RecipeDispatcher

      private RecipeDispatcher()
  • Method Details

    • getInstance

      public static RecipeDispatcher getInstance()
      Mappings:
      Namespace Name Mixin selector
      official a Lafv;a()Lafv;
      intermediary method_3493 Lnet/minecraft/class_1112;method_3493()Lnet/minecraft/class_1112;
      named getInstance Lnet/minecraft/recipe/RecipeDispatcher;getInstance()Lnet/minecraft/recipe/RecipeDispatcher;
    • registerShapedRecipe

      public ShapedRecipeType registerShapedRecipe(ItemStack stack, Object[] args)
      Mappings:
      Namespace Name Mixin selector
      official a Lafv;a(Ladq;[Ljava/lang/Object;)Lafx;
      intermediary method_3495 Lnet/minecraft/class_1112;method_3495(Lnet/minecraft/class_1071;[Ljava/lang/Object;)Lnet/minecraft/class_1115;
      named registerShapedRecipe Lnet/minecraft/recipe/RecipeDispatcher;registerShapedRecipe(Lnet/minecraft/item/ItemStack;[Ljava/lang/Object;)Lnet/minecraft/recipe/ShapedRecipeType;
    • registerShapelessRecipe

      public void registerShapelessRecipe(ItemStack result, Object[] args)
      Mappings:
      Namespace Name Mixin selector
      official b Lafv;b(Ladq;[Ljava/lang/Object;)V
      intermediary method_3497 Lnet/minecraft/class_1112;method_3497(Lnet/minecraft/class_1071;[Ljava/lang/Object;)V
      named registerShapelessRecipe Lnet/minecraft/recipe/RecipeDispatcher;registerShapelessRecipe(Lnet/minecraft/item/ItemStack;[Ljava/lang/Object;)V
    • addRecipeType

      public void addRecipeType(RecipeType recipe)
      Mappings:
      Namespace Name Mixin selector
      official a Lafv;a(Lafu;)V
      intermediary method_8444 Lnet/minecraft/class_1112;method_8444(Lnet/minecraft/class_1114;)V
      named addRecipeType Lnet/minecraft/recipe/RecipeDispatcher;addRecipeType(Lnet/minecraft/recipe/RecipeType;)V
    • matches

      @Nullable public ItemStack matches(CraftingInventory inventory, World world)
      Mappings:
      Namespace Name Mixin selector
      official a Lafv;a(Labc;Laht;)Ladq;
      intermediary method_4640 Lnet/minecraft/class_1112;method_4640(Lnet/minecraft/class_1011;Lnet/minecraft/class_1150;)Lnet/minecraft/class_1071;
      named matches Lnet/minecraft/recipe/RecipeDispatcher;matches(Lnet/minecraft/inventory/CraftingInventory;Lnet/minecraft/world/World;)Lnet/minecraft/item/ItemStack;
    • getRemainders

      public ItemStack[] getRemainders(CraftingInventory inventory, World world)
      Mappings:
      Namespace Name Mixin selector
      official b Lafv;b(Labc;Laht;)[Ladq;
      intermediary method_8445 Lnet/minecraft/class_1112;method_8445(Lnet/minecraft/class_1011;Lnet/minecraft/class_1150;)[Lnet/minecraft/class_1071;
      named getRemainders Lnet/minecraft/recipe/RecipeDispatcher;getRemainders(Lnet/minecraft/inventory/CraftingInventory;Lnet/minecraft/world/World;)[Lnet/minecraft/item/ItemStack;
    • getAllRecipes

      public List<RecipeType> getAllRecipes()
      Mappings:
      Namespace Name Mixin selector
      official b Lafv;b()Ljava/util/List;
      intermediary method_3496 Lnet/minecraft/class_1112;method_3496()Ljava/util/List;
      named getAllRecipes Lnet/minecraft/recipe/RecipeDispatcher;getAllRecipes()Ljava/util/List;