# 🔮Item can be enchanted

## Item can be enchanted

You can set match item rule here at `config.yml` file. Items set here will be consider as enchantable, and will active EnchantmentSlots's feature.

By default, you can put item ID at `match-item.material` section, this includes vanilla item ID or [supported item plugins](https://enchantmentslots.superiormc.cn/for-4.1.8/info/compatibility) item ID.

```yaml
  item-can-be-enchanted:
    # Require MythicChanger.
    # EnchantmentSlots built-in a very simple match item system, allow you put item ID only here.
    # For more complex use, please install MythicChanger and use it's match item rules!
    match-item:
      material:
        - wooden_pickaxe
        - stone_pickaxe
        - iron_pickaxe
        - golden_pickaxe
        - diamond_pickaxe
        - netherite_pickaxe
        - wooden_hoe
        - stone_hoe
        - iron_hoe
        - golden_hoe
        - diamond_hoe
        - netherite_hoe
        - wooden_axe
        - stone_axe
        - iron_axe
        - golden_axe
        - diamond_axe
        - netherite_axe
        - wooden_shovel
        - stone_shovel
        - iron_shovel
        - golden_shovel
        - diamond_shovel
        - netherite_shovel
        - wooden_sword
        - stone_sword
        - iron_sword
        - golden_sword
        - diamond_sword
        - netherite_sword
        - fishing_rod
        - trident
        - elytra
        - bow
        - crossbow
        - carrot_on_a_stick
        - shield
        - turtle_helmet
        - leather_helmet
        - chainmail_helmet
        - iron_helmet
        - golden_helmet
        - diamond_helmet
        - netherite_helmet
        - leather_chestplate
        - chainmail_chestplate
        - iron_chestplate
        - golden_chestplate
        - diamond_chestplate
        - netherite_chestplate
        - leather_leggings
        - chainmail_leggings
        - iron_leggings
        - golden_leggings
        - diamond_leggings
        - netherite_leggings
        - leather_boots
        - chainmail_boots
        - iron_boots
        - golden_boots
        - diamond_boots
        - netherite_boots
        - enchanted_book
        - book
        - mace
```

If you install **MythicChanger** in your server, this section will become use MythicChanger's match item rules, for more info, please view [here](https://mythicchanger.superiormc.cn/configs/match-item). Under these circumstances, `material` is just a rule in MythicChanger, you can choose delete it, and select other rule here. You are allow to use unlimited MythicChanger match item rules here. For example:

```yaml
  item-can-be-enchanted:
    match-item:
      contains-lore:
        - 'Enchantable'
        - 'Epic'
```


---

# 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://enchantmentslots.superiormc.cn/for-4.1.8/auto-add-lore/item-can-be-enchanted.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.
