# Cooking

ItemsAdder allows to add custom furnace recipes for your items, to turn them into something else.

## Example

When adding a cooking recipe, will you need to add the `cooking` section under `recipes`. The name shouldn't matter that much, but it is recommended to use the one of the result.

```yaml
recipes:
  cooking:
    cooked_sausage:
      permission: itemsadder.cooked_sausage
      ingredient:
        item: itemsadder:sausage
      machines:
      - FURNACE
      - BLAST_FURNACE
      exp: 1
      cook_time: 200
      result:
        item: itemsadder:cooked_sausage
        amount: 1
```

In this example I created a `cooking` recipe called `cooked_sausage`

* `item` is the item that should be cooked. Both Vanilla Minecraft and custom items can be used through their respective namespaces.
* `machines` is a list of allowed furnace types that can smelt/cook the item. Supported are `FURNACE`, `BLAST_FURNACE` and `SMOKER`
* `exp` defines the amount of experience the player gets when taking out the item.
* `cook_time` is the time it should take for the item to be processed. The time is in ticks, which means that 20 = 1 second.
* `result` contains the `item` and `amount` option, which define what item and how much of it should be returned. Both Vanilla Minecraft and custom items can be used through their respective namespaces.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://itemsadder.devs.beer/japanese/plugin-usage/adding-content/cooking.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
