Cutting Board (Combining)
Combining is new system introduced in MrCrayfish's Furniture Mod: Refurbished. It allows the player to stack items on a Cutting Board to craft a new item. The best way to think about this recipe is creating a sandwich, you start by placing a slice of bread, then layer your ingredients, and then finalise it by placing another slice of bread on the top.
Recipe Managerโ
<recipetype:refurbished_furniture:cutting_board_combining>
Custom Functionsโ
addRecipe(name, result, ingredients)
โ
Adds a new combining recipe to the cutting board
Paramater | Type | Required | Description |
---|---|---|---|
name | string | Yes | The name of the recipe, must be unique. |
result | IItemStack | Yes | The item from the result of combinining the input , can have an amount and tag |
ingredients | IIngredient[] | Yes | An array of ingredients, where the first is the first item to be placed, the last being the final item to craft the output . Must have at least 1 ingredient, with a maximum of 5 ingredients. |
If the input
of another combining recipe is the same or partially (e.g. the first two ingredients), the recipe registered first or the recipe with the lesser number of inputs will be crafted, making the other recipe impossible to craft.
Check the Craftweaker logs for conflcition warnings
Exampleโ
- ZenScript
- Datapack Equivelant
<recipetype:refurbished_furniture:cutting_board_combining>.addRecipe(
"combining/easy_diamonds",
<item:minecraft:diamond> * 64,
[<item:minecraft:apple>, <item:minecraft:carrot>, <item:minecraft:potato>]
);
{
"type": "refurbished_furniture:cutting_board_combining",
"ingredients": [
{
"item": "minecraft:apple"
},
{
"item": "minecraft:carrot"
},
{
"item": "minecraft:potato"
}
],
"result": {
"item": "minecraft:diamond",
"count": 64
}
}
Learn Moreโ
See Recipe Managers on the CraftTweaker documentation for all inbuilt functions.