ConditionEntity
hasEnchantment
Tests if the target entity has an equipped enchantment
Aliases
hasEnchant
Configuration Fields (2)
| Name | Type | Default | Description |
|---|---|---|---|
| type t, enchantment, ench, e | String | — | The enchantment type |
| level lvl, l | RangedDouble | — | An optional level range to match |
Examples & Notes
Examples:
TargetConditions:
- hasenchantment{e=DAMAGE_ALL;l=>3} true
Universal Condition Options
- Author:
- Ash
