HasPotionEffect

Type Entity
Aliases hasPotion
Added In 4.0
Author Joikd

Condition: HasPotionEffect

Tests if the target entity has a potion effect

Attributes

Attribute Aliases Description
type t The potion effect type
level lvl, l An optional level range to match
duration d An optional duration range to match


Examples

Conditions:
- haspotioneffect{} true

conditions/haspotioneffect.txt · Last modified: 2020/06/30 21:13 (external edit)