# 🪄Extra Slot Item

You can create unlimited extra slot items at `add-slot-items` section in `config.yml`.

```yaml
add-slot-items:
  A:
    material: PAPER
    name: '&dExtra Enchantment Slot &7(+1)'
    lore:
      - '&fDrag this item into your item to use!'
      - '&fApply for all items but have only 50% success rate!'
    add-slots: 1
    chance: 50
    success-actions:
      - 'sound: block.note_block.harp;;1;;1'
      - 'message: &#98FB98[EnchantmentSlots] &aAdd {amount} extra enchantment slot to your item!'
    fail-actions:
      - 'sound: block.note_block.bass;;1;;1'
      - 'message: &#98FB98[EnchantmentSlots] &cYou are not very lucky, slot item has broken!'
  B:
    material: PAPER
    custom-model-data: 5
    name: '&dExtra Enchantment Slot &7(+5)'
    lore:
      - '&fDrag this item into your item to use!'
      - '&f100% success but only work for diamond sword.'
    add-slots: 5
    success-actions:
      - 'sound: block.note_block.harp;;1;;1'
      - 'message: &#98FB98[EnchantmentSlots] &aAdd {amount} extra enchantment slot to your item!'
    fail-actions:
      - 'sound: block.note_block.bass;;1;;1'
      - 'message: &#98FB98[EnchantmentSlots] &cYou are not very lucky, slot item has broken!'
    apply-items:
      - 'diamond_sword'
```

Should use [**ItemFormat**](/for-4.1.8/format/itemformat-tm-simply-version.md) simple version, for more info, please view [this page](/for-4.1.8/format/itemformat-tm-simply-version.md).

* add-slots: Represents the number of expansion slots.
* success-actions: Represents actions will excute after success use extra slot item. Use [Action Format](/for-4.1.8/format/action-format.md) here.
* fail-actions: Represents actions will excute after fail to use extra slot item. Use [Action Format](/for-4.1.8/format/action-format.md) here.
* apply-items: Reprsents what items can use this extra slot item. If not existed, all item can use. Support use thrid-plugin item ID.
* black-items: Represents what items can not use this extra slot item. If not exised, all item can use. Support use thrid-plugin item ID.


---

# 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/features/extra-slot-item.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.
