Default interface for Registry based handlers as they can all remove recipes by ResourceLocation.

This class was added by a mod with mod-id crafttweaker. So you need to have this mod installed if you want to use this feature.

Importing the class

It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import at the very top of the file.

import crafttweaker.api.registries.ICookingRecipeManager;

Implemented Interfaces

ICookingRecipeManager implements the following interfaces. That means all methods defined in these interfaces are also available in ICookingRecipeManager



Adds a recipe based on given params.

Return Type: void

ICookingRecipeManager.addRecipe(name as string, output as IItemStack, input as IIngredient, xp as float, cookTime as int) as void
furnace.addRecipe("wool2diamond", <item:diamond>, <tag:minecraft:wool>, 1.0, 0);
namestringName of the new recipe
outputIItemStackIItemStack output of the recipe
inputIIngredientIIngredient input of the recipe
xpfloathow much xp the player gets
cookTimeinthow long it takes to cook


Removes a recipe based on it's output and input.

Return Type: void

ICookingRecipeManager.removeRecipe(output as IItemStack, input as IIngredient) as void
furnace.removeRecipe(<item:minecraft:diamond>, <tag:minecraft:wool>);
outputIItemStackIItemStack output of the recipe.
inputIIngredientIIngredient of the recipe to remove.