-
Notifications
You must be signed in to change notification settings - Fork 178
Cooking Pot Recipes
This page contains instructions on how to write a custom recipe for Farmer's Delight's Cooking Pot.
{
"type": "farmersdelight:cooking",
"recipe_book_tab": "misc", // meals, drinks or misc
"ingredients": [
{
"item": "namespace:your_item"
},
{
"tag": "namespace:your_tag"
},
[
{"item": "namespace:item_variant_1"},
{"item": "namespace:item_variant_2"}
]
],
"result": {
"item": "namespace:your_result"
},
"container": {
"item": "namespace:your_custom_container"
},
"cookingtime": 200
}
Required:
- ingredients: Up to six different entries specifying the ingredients that go into the pot. Accepts items, tags and similar.
- result: The resulting meal. Any item can be prepared, but items without a coded or overriden container will not be held into the pot, dropping to output.
Optional:
- container: An override for the item's container. If specified, the Cooking Pot will hold the result, serving it only in the item specified here.
- cookingtime: An override for the time taken, in ticks, for the meal to be prepared. Default is 200 ticks (10 seconds).
-
recipe_book_tab: Specifies which Recipe Book tab this recipe should appear in, on the Cooking Pot's GUI.
- Values:
meals
,drinks
,misc
- Values:
The Cooking Pot is a workstation that lets players prepare and store meals, focusing on contained ones (bowls and such).
It has six (6) ingredient slots available, meaning a recipe that employs a full crafting grid will need to become a bit cheaper. Recipes take a while to prepare, and are deposited in the meal slot (pot-shaped).
When converting a crafted meal to the Cooking Pot, keep in mind it has a container slot for retrieving the meal. Ideally, bowls and bottles are not an ingredient, but rather a key to take the meal out. If the item specifies no container anywhere, it will instead drop to the output slot (normal slot under pot-shaped slot), and become retrievable.
Meals stored into the pot-shaped slot will stay inside the pot when it's mined, allowing players to carry up to 64 servings around with them, regardless of the item's maximum stack size. This is the primary advantage of the pot, so keep this in mind before adding recipes intended to be harder to stack.
If your bowl food extends SoupItem, chances are it has no container, and does not stack. In order for your meal to stay in the pot and not drop to output (essentially conjuring a bowl out of thin air), you must specify a custom "container"
in your .json file. Farmer's Delight does this for every vanilla SoupItem, as demonstrated here.