Cutting Board (Slicing)
Slicing is system in MrCrayfish's Furniture Mod: Refurbished that allows the player to slice an item on a Cutting Board with a Knife. This recipe can be used to break down an item into multiple items, like slicing a pizza into multiple slices.
Recipe Managerโ
<recipetype:refurbished_furniture:cutting_board_slicing>
Custom Functionsโ
addRecipe(name, ingredient, result)
โ
Adds a new slicing recipe to the cutting board
Paramater | Type | Required | Description |
---|---|---|---|
name | string | Yes | The name of the recipe, must be unique. |
ingredient | IIngredient | Yes | The ingredient to slice |
result | IItemStack | Yes | The resulting item from slicing the ingredient , can have an amount. |
Exampleโ
- ZenScript
- Datapack Equivelant
%gamedir%/scripts/example.zs
<recipetype:refurbished_furniture:cutting_board_slicing>.addRecipe(
"slicing/easy_diamonds",
<item:minecraft:apple> | <item:minecraft:potato>,
<item:minecraft:diamond> * 64
);
(ZIP File) ๐กข /data/[namespace]/recipes/slicing/easy_diamonds.json
{
"type": "refurbished_furniture:cutting_board_slicing",
"ingredient": {
"item": "minecraft:apple"
},
"result": "minecraft:diamond"
"count": 64
}
Learn Moreโ
See Recipe Managers on the CraftTweaker documentation for all inbuilt functions.