部分不涉及物品内容的插件有 target.yml 文件,用于指定某个附魔、重铸等只能在某个物品上使用。
target.yml
以下是一个 target.yml 的示例:
pickaxe: slot: hands items: - wooden_pickaxe - stone_pickaxe - iron_pickaxe - golden_pickaxe - diamond_pickaxe - netherite_pickaxe - ecoitems:rookie_pickaxe
其中,pickaxe 键为一个可用物品类型的ID,以此格式可以添加无数多的目标选择器。在此键下面还有如下选项:
pickaxe
slot:激活的槽位。支持填写 mainhand, offhand, hands, helmet, chestplate, leggings, boots, armor, any, 0-40的数字(以代表具体格子),或者多个槽位写在一起 "9, 10, 11, mainhand"。
items:可用的物品。支持填写物品语句。
最后更新于2年前