Oven (Baking)
The Oven (a part of the Stove block) allows you to bake items. It has the ability to bake up to three different items simultaneously. They are also baked independantly, so it doesn't matter it another item is already half way baked when you add it into the Oven.
Recipe Managerโ
<recipetype:refurbished_furniture:oven_baking>
Custom Functionsโ
addRecipe(name, ingredient, result[, time])
โ
Adds a new baking recipe to the oven
Paramater | Type | Required | Description |
---|---|---|---|
name | string | Yes | The name of the recipe, must be unique. |
ingredient | IIngredient | Yes | The ingredient to freeze |
result | IItemStack | Yes | The resulting item from baking the ingredient , can have an amount. |
time | int | No | The duration in ticks to bake the item. Default 200 |
Exampleโ
- ZenScript
- Datapack Equivelant
%gamedir%/scripts/example.zs
<recipetype:refurbished_furniture:oven_baking>.addRecipe(
"heating/easy_diamonds",
<item:minecraft:apple>,
<item:minecraft:diamond> * 2,
100
);
(ZIP File) ๐กข /data/[namespace]/recipes/baking/easy_diamonds.json
{
"type": "refurbished_furniture:oven_baking",
"ingredient": {
"item": "minecraft:apple"
},
"result": {
"item": "minecraft:diamond",
"count": 2
},
"time": 100
}
Learn Moreโ
See Recipe Managers on the CraftTweaker documentation for all inbuilt functions.