> For the complete documentation index, see [llms.txt](https://enchantmentslots.superiormc.cn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://enchantmentslots.superiormc.cn/enchantment-slot/extra-slot-item.md).

# 🪄Extra Slot Item

## Extra Slot Item

All apply items are saved in `extra_slot_items` folder, an example file is here:

```yaml
display-item:
  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
conditions: []
success-actions:
  1:
    type: sound
    sound: 'block.note_block.harp'
  2:
    type: message
    message: '&#98FB98[EnchantmentSlots] &aAdd {amount} extra enchantment slot to your item!'
fail-actions:
  1:
    type: sound
    sound: 'block.note_block.bass'
  2:
    type: message
    message: '&#98FB98[EnchantmentSlots] &cYou are not very lucky, slot item has broken!'
match-item:
  material:
    - 'diamond_sword'
```

## General Options

* display-item: The display item of this extra slot item. Should use [**ItemFormat**](/format/itemformat-tm-simply-version.md) simple version, for more info, please view [this page](/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](/format/action-format.md) here.
* fail-actions: Represents actions will excute after fail to use extra slot item. Use [Action Format](/format/action-format.md) here.
* conditions: Represents what conditions player should meet to use this extra slot item. Use [Condition Format](/format/condition-format.md) here.
* match-item: Read [Match Item Format](/format/match-item-format.md) page for more info, which item can use this extra slot item, if removed, all items can use this apply item.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://enchantmentslots.superiormc.cn/enchantment-slot/extra-slot-item.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
