#
Item Sets
Every enchantment must have two item sets assigned:
- Primary Items - Items for which this enchantment appears in an enchanting table.
- Supported Items - Items on which this enchantment can be applied using an anvil or using commands.
Custom item sets for new enchantments can be created in the item_types.yml
config file.
Diamond Armor Set Example:
item_types.yml
diamond_armor:
Name: Diamond Armor
Slots:
- HEAD
- CHEST
- LEGS
- FEET
Items:
- diamond_helmet
- diamond_chestplate
- diamond_leggings
- diamond_boots
The Slots
setting determines equipment slots that enchantments works in.