# MMOItems

在[此处](https://www.spigotmc.org/resources/mmoitems-premium.39267/)下载 **MMOItems**

### 你可以在此处下载教程中的示例

{% embed url="<https://www.spigotmc.org/resources/items-mmoitem-example-integration.88351/>" %}

## 已知限制

{% embed url="<https://github.com/PluginBugs/Issues-ItemsAdder/issues/2008>" %}

## 将MMOItem与ItemsAdder物品连接

### 使用 /mmoitems 进行预览

![](/files/-MS3E1xyRXt8UdH39HaD)

### 创建一个新的 MMOItem

![](/files/-MS3E3kejbtKDFUD26n8)

![](/files/-MS3EXxDf3F67nby96Au)

### 添加你想要的所有属性,如魔法伤害等

![](/files/-MS3EBnkC28fo1CcUBTn)

### 在 /mmoitems 界面中预览 MMOItem

![](/files/-MS3EfPt-B2UjJvwHZUd)

### 正常创建你的.yml文件，并添加 ItemsAdder 物品的所有属性

`ItemsAdder/contents/mmoitems_example/configs/example.yml`

{% hint style="success" %}
如你所见, 我设置了一个叫做 **`mmoitem`** 的新属性, 同时还有 **`type`** 与 **`id`** 。\
这些属性用于**连接**这**两个物品**.
{% endhint %}

```yaml
info:
  namespace: mmoitems_example
items:
  test:
    display_name: ""
    permission: example_item
    mmoitem:
      type: SWORD
      id: TEST
    resource:
      material: DIAMOND_SWORD
      generate: true
      textures:
      - item/test.png
    durability:
      max_custom_durability: 1324
```

### 正常创建你的.png纹理

`ItemsAdder/contents/mmoitems_example/resourcepack/mmoitems_example/textures/item/test.png`

### 获得物品

使用指令`/iaget mmoitems_example:test`来得到成品

![](/files/-MS3Fy54dgNaN4eXJVGG)

![](/files/-MS3G-wuh4kJS_SsEpRh)


---

# 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://itemsadder.devs.beer/chinese/compatibility-with-other-plugins/compatible/mmoitems.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.
