Adds new furnace recipe
source item id
source item data
resulting item id
resulting item data
prefix, used to create recipes for non-vanilla furnaces
Adds new furnace recipe with no need to manually specify input item data (it defaults to -1)
source item id
result item id
resulting item data
prefix, used to create recipes for non-vanilla furnaces. If the prefix is not empty and some recipes for this source exist for vanilla furnace, they are removed
Adds fuel that can be used in the furnace
fuel item id
fuel item data
burning time in ticks
Adds new shaped crafting recipe. For example:
Simple example:
Recipes.addShaped({id: 264, count: 1, data: 0}, [
"ax",
"xa",
"ax"
], ['x', 265, 0, 'a', 266, 0]);
recipe result item
recipe shape, up to three string corresponding to the three crafting field rows. Each character means one item in the field. E.g. the pickaxe recipe should look like this:
"+++"
" | "
" | "
Do not use empty lines or line endings, if the recipe can be placed within less then three rows or cols. E.g. to craft plates, you can use a shape like this:
"--"
an array explaining the meaning of each character within mask. The array should contain three values for each symbol: the symbol itself, item id and item data.
function to be called when the craft is processed
recipe prefix. Use a non-empty values to register recipes for custom workbenches
Same as Recipes.addShaped, but you can specify result as three separate values corresponding to id, count and data
Adds new shapeless crafting recipe. For example:
Recipes.addShapeless({id: 264, count: 1, data: 0},
[{id: 265, data: 0}, {id: 265, data: 0}, {id: 265, data: 0},
{id: 266, data: 0}, {id: 266, data: 0}, {id: 266, data: 0}]);
recipe result item
crafting ingredients, an array of objects representing item id and data
function to be called when the craft is processed
recipe prefix. Use a non-empty values to register recipes for custom workbenches
Deletes recipe by its result
recipe result
[[java.util.Collection]] object with all registered furnace recipes
[[java.util.Collection]] object with all registered workbench recipes
fuel burn duration by fuel item id and data
recipe prefix used for non-vanilla furnaces
furnace recipe resulting item
Gets furnace recipes by result and custom prefix
result item id
result item data
recipe prefix used for non-vanilla furnaces
[[java.util.Collection]] object with all furnace recipes found by given params
Gets recipe by the field and prefix
WorkbenchField object containing crafting field information
recipe prefix, defaults to empty string (vanilla workbench)
WorkbenchRecipe instance, containing useful methods and recipe information
Gets recipe result item by the field and recipe prefix
WorkbenchField object containing crafting field information
recipe prefix, defaults to empty string (vanilla workbench)
Gets all available recipes containing an ingredient
java.util.Collection object containing WorkbenchRecipes
Gets all available recipes for the recipe result
java.util.Collection object containing WorkbenchRecipes
Performs crafting by the field contents and recipe prefix
WorkbenchField object containing crafting field information
recipe prefix, defaults to empty string (vanilla workbench)
Removes furnace fuel by fuel item id and data
Removes furnace recipes by source item
source item id
source item data
Removes recipe by result id, count and data
Generated using TypeDoc
Module used to manipulate crafting recipes for vanilla and custom workbenches