# Smithing

<figure><img src="/files/h508VZtSVTnKLyohs7fk" alt=""><figcaption></figcaption></figure>

```yaml
info:
  namespace: my_items
recipes:
  smithing:
    my_sword_modified_recipe:
      enabled: true
      permission_suffix: recipes_group_1.my_sword_modified_recipe
      base: my_sword
      addition: DIAMOND
      template: EMERALD
      result:
        item: my_sword_modified
        amount: 1
```

{% hint style="info" %}
`base`, `addition` and `template` are all mandatory. Specify all 3 items.
{% endhint %}

## Properties

#### `template`

The first slot item.

#### `base`

The second slot item.

#### `addition`

The third slot item.

#### `result`

The resulting item.

#### `permission_suffix`

This option defines the required permission.\
It represents only the **suffix** of the permission.

The full permission format is: `ia.user.recipe.<permission_suffix>`.

**Example:**\
`ia.user.recipe.recipes_group_1.my_sword_modified_recipe`

**Advanced usage:**\
You can assign `ia.user.recipe.recipes_group_1.*` to grant access to all recipes within that group.


---

# 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/adding-content/recipes/smithing.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.
