%i:ITEMSTACK% (has|does not have|has no) enchantments — Conditions

%i:ITEMSTACK% (has|does not have|has no) enchantments
Item1.0.0

Description

Checks if an item stack has or does not have any enchantments.

Examples

if item has enchantments:
if item does not have enchantments:

All Possible Usages (3)

Every distinct way you can write this pattern, with optional groups and choice groups expanded. Placeholders are shown as <name>.

<i> has enchantments
<i> does not have enchantments
<i> has no enchantments

Related (Item)