Package net.minecraft.recipe
Class RecipeDispatcher
java.lang.Object
net.minecraft.recipe.RecipeDispatcher
public class RecipeDispatcher extends Object
- Mappings:
Namespace Name official abtintermediary net/minecraft/class_49named net/minecraft/recipe/RecipeDispatcher
-
Field Summary
Fields Modifier and Type Field Description private static RecipeDispatcherINSTANCEprivate List<RecipeType>recipes -
Constructor Summary
Constructors Modifier Constructor Description privateRecipeDispatcher() -
Method Summary
Modifier and Type Method Description voidaddRecipeType(RecipeType recipe)List<RecipeType>getAllRecipes()static RecipeDispatchergetInstance()ItemStack[]getRemainders(CraftingInventory inventory, World world)ItemStackmatches(CraftingInventory inventory, World world)ShapedRecipeTyperegisterShapedRecipe(ItemStack stack, Object[] args)voidregisterShapelessRecipe(ItemStack result, Object[] args)
-
Field Details
-
INSTANCE
- Mappings:
Namespace Name Mixin selector official aLabt;a:Labt;intermediary field_93Lnet/minecraft/class_49;field_93:Lnet/minecraft/class_49;named INSTANCELnet/minecraft/recipe/RecipeDispatcher;INSTANCE:Lnet/minecraft/recipe/RecipeDispatcher;
-
recipes
- Mappings:
Namespace Name Mixin selector official bLabt;b:Ljava/util/List;intermediary field_94Lnet/minecraft/class_49;field_94:Ljava/util/List;named recipesLnet/minecraft/recipe/RecipeDispatcher;recipes:Ljava/util/List;
-
-
Constructor Details
-
RecipeDispatcher
private RecipeDispatcher()
-
-
Method Details
-
getInstance
- Mappings:
Namespace Name Mixin selector official aLabt;a()Labt;intermediary method_66Lnet/minecraft/class_49;method_66()Lnet/minecraft/class_49;named getInstanceLnet/minecraft/recipe/RecipeDispatcher;getInstance()Lnet/minecraft/recipe/RecipeDispatcher;
-
registerShapedRecipe
- Mappings:
Namespace Name Mixin selector official aLabt;a(Lzx;[Ljava/lang/Object;)Labv;intermediary method_69Lnet/minecraft/class_49;method_69(Lnet/minecraft/class_2056;[Ljava/lang/Object;)Lnet/minecraft/class_51;named registerShapedRecipeLnet/minecraft/recipe/RecipeDispatcher;registerShapedRecipe(Lnet/minecraft/item/ItemStack;[Ljava/lang/Object;)Lnet/minecraft/recipe/ShapedRecipeType;
-
registerShapelessRecipe
- Mappings:
Namespace Name Mixin selector official bLabt;b(Lzx;[Ljava/lang/Object;)Vintermediary method_72Lnet/minecraft/class_49;method_72(Lnet/minecraft/class_2056;[Ljava/lang/Object;)Vnamed registerShapelessRecipeLnet/minecraft/recipe/RecipeDispatcher;registerShapelessRecipe(Lnet/minecraft/item/ItemStack;[Ljava/lang/Object;)V
-
addRecipeType
- Mappings:
Namespace Name Mixin selector official aLabt;a(Labs;)Vintermediary method_67Lnet/minecraft/class_49;method_67(Lnet/minecraft/class_48;)Vnamed addRecipeTypeLnet/minecraft/recipe/RecipeDispatcher;addRecipeType(Lnet/minecraft/recipe/RecipeType;)V
-
matches
- Mappings:
Namespace Name Mixin selector official aLabt;a(Lxp;Ladm;)Lzx;intermediary method_68Lnet/minecraft/class_49;method_68(Lnet/minecraft/class_1993;Lnet/minecraft/class_99;)Lnet/minecraft/class_2056;named matchesLnet/minecraft/recipe/RecipeDispatcher;matches(Lnet/minecraft/inventory/CraftingInventory;Lnet/minecraft/world/World;)Lnet/minecraft/item/ItemStack;
-
getRemainders
- Mappings:
Namespace Name Mixin selector official bLabt;b(Lxp;Ladm;)[Lzx;intermediary method_71Lnet/minecraft/class_49;method_71(Lnet/minecraft/class_1993;Lnet/minecraft/class_99;)[Lnet/minecraft/class_2056;named getRemaindersLnet/minecraft/recipe/RecipeDispatcher;getRemainders(Lnet/minecraft/inventory/CraftingInventory;Lnet/minecraft/world/World;)[Lnet/minecraft/item/ItemStack;
-
getAllRecipes
- Mappings:
Namespace Name Mixin selector official bLabt;b()Ljava/util/List;intermediary method_70Lnet/minecraft/class_49;method_70()Ljava/util/List;named getAllRecipesLnet/minecraft/recipe/RecipeDispatcher;getAllRecipes()Ljava/util/List;
-