ConditionEntity

hasEnchantment

Tests if the target entity has an equipped enchantment

Aliases

hasEnchant

Configuration Fields (2)

NameTypeDefaultDescription
type
t, enchantment, ench, e
StringThe enchantment type
level
lvl, l
RangedDoubleAn optional level range to match

Examples & Notes

Examples:

  TargetConditions:
  - hasenchantment{e=DAMAGE_ALL;l=>3} true

Universal Condition Options

Author:
Ash
Community-maintained documentation for the Mythic plugin ecosystem.