For the complete documentation index, see llms.txt. This page is also available as Markdown.

Contains Enchants/Stored Enchants Amount

Min Enchants Amount

Check enchantment count.

The item must has at least 5 enchantments in this example.

match-item:
  contains-enchants-amount: 5

Contains Enchants Amount

Check enchantment count list.

This means item must has 3 or 5 enchantments in this example, if the item has 4 enchantments or other number of enchantments, it will not being matched.

match-item:
  contains-enchants-amount: [3, 5]

Last updated