> For the complete documentation index, see [llms.txt](https://thatgravyboat.gitbook.io/iron-chests-restocked-wiki/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://thatgravyboat.gitbook.io/iron-chests-restocked-wiki/chests/item-predicate/enchantment-predicate.md).

# Enchantment Predicate

## Description

Enchantment Predicate determines if an item meets the requirements for enchantments to be allowed.

## Data Object

### Enchantment / <mark style="color:red;">`enchantment`</mark> / String

Enchantment refers to a resource id of and enchantment you would like to be on the item.

***Note: Defaulted to allow any enchantment id.***

### Levels / <mark style="color:red;">`levels`</mark> / [IntBounds](/iron-chests-restocked-wiki/chests/item-predicate/int-bounds.md)

Levels refers to the level at which said enchantment needs to be.

***Note: Defaulted to any enchantment level.***
