ConditionEntity

hasPotionEffect

Tests if the target entity has a potion effect

Aliases

hasPotion

Configuration Fields (3)

NameTypeDefaultDescription
type
t
StringThe potion effect type
level
lvl, l
RangedDoubleAn optional level range to match
duration
d
RangedDoubleAn optional duration range to match

Examples & Notes

Examples

  Conditions:
  - haspotioneffect{t=SLOW;l=0-2;d=0-9999} true
  TargetConditions:
  - haspotioneffect{t=Speed;l=0-9} true

Universal Condition Options

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