Has potion effect
Whether a player has this potion effect on them right now, at any level.
A Minecraft element (a check) in Players. Needs the Basic plan or higher to go live; building and testing are free.
Example
When a player is hurt → If Has potion effect minecraft:resistance → Change the damage to 0.
Also called
has effect, is poisoned, has potion, buffed
Works as a data pack?
Yes. A vanilla data pack does this exactly as the plugin does.
What you give it
- Player