Class RecipeDispatcher

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

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

    • INSTANCE

      private static final RecipeDispatcher INSTANCE
      Mappings:
      Namespace Name Mixin selector
      official a Labt;a:Labt;
      intermediary field_93 Lnet/minecraft/class_49;field_93:Lnet/minecraft/class_49;
      named INSTANCE Lnet/minecraft/recipe/RecipeDispatcher;INSTANCE:Lnet/minecraft/recipe/RecipeDispatcher;
    • recipes

      private final List<RecipeType> recipes
      Mappings:
      Namespace Name Mixin selector
      official b Labt;b:Ljava/util/List;
      intermediary field_94 Lnet/minecraft/class_49;field_94: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 Labt;a()Labt;
      intermediary method_66 Lnet/minecraft/class_49;method_66()Lnet/minecraft/class_49;
      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 Labt;a(Lzx;[Ljava/lang/Object;)Labv;
      intermediary method_69 Lnet/minecraft/class_49;method_69(Lnet/minecraft/class_2056;[Ljava/lang/Object;)Lnet/minecraft/class_51;
      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 Labt;b(Lzx;[Ljava/lang/Object;)V
      intermediary method_72 Lnet/minecraft/class_49;method_72(Lnet/minecraft/class_2056;[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 Labt;a(Labs;)V
      intermediary method_67 Lnet/minecraft/class_49;method_67(Lnet/minecraft/class_48;)V
      named addRecipeType Lnet/minecraft/recipe/RecipeDispatcher;addRecipeType(Lnet/minecraft/recipe/RecipeType;)V
    • matches

      public ItemStack matches​(CraftingInventory inventory, World world)
      Mappings:
      Namespace Name Mixin selector
      official a Labt;a(Lxp;Ladm;)Lzx;
      intermediary method_68 Lnet/minecraft/class_49;method_68(Lnet/minecraft/class_1993;Lnet/minecraft/class_99;)Lnet/minecraft/class_2056;
      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 Labt;b(Lxp;Ladm;)[Lzx;
      intermediary method_71 Lnet/minecraft/class_49;method_71(Lnet/minecraft/class_1993;Lnet/minecraft/class_99;)[Lnet/minecraft/class_2056;
      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 Labt;b()Ljava/util/List;
      intermediary method_70 Lnet/minecraft/class_49;method_70()Ljava/util/List;
      named getAllRecipes Lnet/minecraft/recipe/RecipeDispatcher;getAllRecipes()Ljava/util/List;