> 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/replace-item.md).

# Replace Item

## Replace item\* <a href="#replace-new-item" id="replace-new-item"></a>

Use the ItemFormat [here](https://ultimateshop.superiormc.cn/base/item-format).

You need use this both in `fake-changes` and `real-changes` option to make it working well.

{% hint style="info" %}
The data of the original item will be lost. You can consider using rules starting with `keep` to convert some of the data from the original item to the new item (this will cause some additional performance consumption). For more info, please view [here](/change-rules/keep.md).
{% endhint %}

```yaml
fake-changes:
  replace-item:
    # Put Item Format here.
    hook-plugin: MMOItems
    hook-item: 'MATERIAL;;REAR_INGOT'
real-changes:
  replace-item:
    # Put Item Format here.
    hook-plugin: MMOItems
    hook-item: 'MATERIAL;;REAR_INGOT'
```


---

# 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/replace-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.
