mirror of
https://github.com/YouHaveTrouble/Enchantio.git
synced 2026-05-11 21:56:55 +00:00
document active slot types
This commit is contained in:
@@ -60,3 +60,16 @@ When player takes damage, there is a chance that their hotbar items will be scra
|
|||||||
There are 2 types of tags that can be used in the configuration:
|
There are 2 types of tags that can be used in the configuration:
|
||||||
- `minecraft:item_name` - For specific items, use namespaced vanilla item id. If namespace is not provided, `minecraft` is assumed.
|
- `minecraft:item_name` - For specific items, use namespaced vanilla item id. If namespace is not provided, `minecraft` is assumed.
|
||||||
- `#minecraft:item_tag_name` - For item tags, use namespaced tag id. If namespace is not provided, `minecraft` is assumed. Custom tags from other plugins and datapacks are also supported.
|
- `#minecraft:item_tag_name` - For item tags, use namespaced tag id. If namespace is not provided, `minecraft` is assumed. Custom tags from other plugins and datapacks are also supported.
|
||||||
|
|
||||||
|
### activeSlots
|
||||||
|
Slot types that enchant is active in. Only some enchantments support this feature.
|
||||||
|
|
||||||
|
Available slot types:
|
||||||
|
- `MAINHAND` - Main hand slot.
|
||||||
|
- `OFFHAND` - Offhand slot.
|
||||||
|
- `ARMOR` - Any armor slot.
|
||||||
|
- `HELMET` - Helmet slot.
|
||||||
|
- `CHESTPLATE` - Chestplate slot.
|
||||||
|
- `LEGGINGS` - Leggings slot.
|
||||||
|
- `BOOTS` - Boots slot.
|
||||||
|
- `ANY` - Enchantment is active in all slots.
|
||||||
|
|||||||
Reference in New Issue
Block a user