> For the complete documentation index, see [llms.txt](https://docs.superiormc.cn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.superiormc.cn/auxilor-plugins/tong-yong-xin-xi/ke-yong-wu-pin-lei-xing.md).

# \*可用物品类型

部分不涉及物品内容的插件有 `target.yml` 文件，用于指定某个附魔、重铸等只能在某个物品上使用。

以下是一个 `target.yml` 的示例：

```yaml
pickaxe:
  slot: hands
  items: 
    - wooden_pickaxe
    - stone_pickaxe
    - iron_pickaxe
    - golden_pickaxe
    - diamond_pickaxe
    - netherite_pickaxe
    - ecoitems:rookie_pickaxe
```

其中，`pickaxe` 键为一个可用物品类型的ID，以此格式可以添加无数多的目标选择器。在此键下面还有如下选项：

* slot：激活的槽位。支持填写 mainhand, offhand, hands, helmet, chestplate, leggings, boots, armor, any, 0-40的数字（以代表具体格子），或者多个槽位写在一起 "9, 10, 11, mainhand"。
* items：可用的物品。支持填写物品语句。
