Microwave (Heating)
The Microwave is a block that allows you to heat items. It acts very similar to a furnace, but does not inherit the recipes. The Microwave requires electrical power in order for it to function. It currently has limited recipes in the base mod.
Recipe Managerโ
<recipetype:refurbished_furniture:microwave_heating>
Custom Functionsโ
addRecipe(name, ingredient, result[, time])
โ
Adds a new heating recipe to the microwave
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 heating the ingredient , can have an amount. |
time | int | No | The duration in ticks to heat the item. Default 200 |
Exampleโ
- ZenScript
- Datapack Equivelant
%gamedir%/scripts/example.zs
<recipetype:refurbished_furniture:microwave_heating>.addRecipe(
"heating/easy_diamonds",
<item:minecraft:apple>,
<item:minecraft:diamond> * 64,
250
);
(ZIP File) ๐กข /data/[namespace]/recipes/heating/easy_diamonds.json
{
"type": "refurbished_furniture:microwave_heating",
"ingredient": {
"item": "minecraft:apple"
},
"result": {
"item": "minecraft:diamond",
"count": 64
},
"time": 250
}
Learn Moreโ
See Recipe Managers on the CraftTweaker documentation for all inbuilt functions.