Grill (Cooking)
The Grill is a block that allows the player to cook up two four items at a time. It is "powered" by placing charcoal into the block. Similar to the Frying Pan, half way through the cooking process, the items will need to be flipped with a Spatula. Items are cooked independantly from others.
warning
The grill inherits all campfire recipes. You cannot modify those recipes through the grill recipe manager.
Recipe Managerโ
<recipetype:refurbished_furniture:grill_cooking>
Custom Functionsโ
addRecipe(name, ingredient, result[, time])
โ
Adds a new cooking recipe to the grill
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 cooking the ingredient , can have an amount. |
time | int | No | The duration in ticks to fully cook the item. The item will cook for half this time, the player will then flip it with a Spatula, then it will complete cooking for the remaining time. Default 200 |
Exampleโ
- ZenScript
- Datapack Equivelant
%gamedir%/scripts/example.zs
<recipetype:refurbished_furniture:grill_cooking>.addRecipe(
"cooking/easy_diamonds",
<item:minecraft:apple> | <item:minecraft:potato>,
<item:minecraft:diamond> * 64,
400
);
(ZIP File) ๐กข /data/[namespace]/recipes/cooking/easy_diamonds.json
{
"type": "refurbished_furniture:grill_cooking",
"ingredient": {
"item": [
"minecraft:apple",
"minecraft:potato"
]
},
"result": {
"item": "minecraft:diamond",
"count": 64
},
"time": 500
}
Learn Moreโ
See Recipe Managers on the CraftTweaker documentation for all inbuilt functions.