> For the complete documentation index, see [llms.txt](https://mythicchanger.superiormc.cn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mythicchanger.superiormc.cn/change-rules/apply-limit.md).

# Apply Limit

## Add apply limit/Set apply limit/Reset apply limit <mark style="color:red;">- Premium</mark>

It doesn't mean a limit on the number of times an apply item is used, but a limit on the type of apply item. If you need to limit the maximum number of times an apply item can be used, you can flexibly set the match item based on the apply item. For example, this apply item can add a level to the item's enchantment each time. Then, when the item's enchantment level is greater than a certain value, it can be considered as using the apply item a certain number of times, or you can add a double type nbt to it every time you use the apply item. Add 1 to the value of this nbt every time it is used, and the final value stored in nbt is the number of times it has been used. For example of set limit of apply item use times, please view this [example file](/drag-gui-change/apply-item-example-stat-scroll-with-usage-times-limit.md).

```yaml
real-changes:
  add-apply-limit: 5
  set-apply-limit: 15
  reset-apply-limit: true
```


---

# 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:

```
GET https://mythicchanger.superiormc.cn/change-rules/apply-limit.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.
