> For the complete documentation index, see [llms.txt](https://enchantedmobs.superiormc.cn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://enchantedmobs.superiormc.cn/docs/features/contains-enchants-stored-enchants-amount.md).

# Contains Enchants/Stored Enchants Amount

## Min Enchants Amount

Check enchantment count.

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

```yaml
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.

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