Effect

Checks for potion effects on the player. Can look for multiple effects.
Effect names are sourced from SpigotAPI documentation.

Attributes


Attribute Aliases Description
effect effects, e The potion type(s) to check for.

Example


Colors the lucky_charm Asset green in its HUD if the user has the LUCK effect:

lucky_charm:
  conditions:
  - effect{e=luck} true color green
  layers:
    icon:
      texture:
        path: assets/luck/clover.png
      offset:
        x: -5
        y: 2
Updated Aug 19, 2026