java.lang.Object
ch.njol.skript.lang.util.SimpleExpression<SkriptPotionEffect>
ch.njol.skript.expressions.base.PropertyExpression<Object,SkriptPotionEffect>
org.skriptlang.skript.bukkit.potion.elements.expressions.ExprPotionEffect
All Implemented Interfaces:
Debuggable, Expression<SkriptPotionEffect>, Loopable<SkriptPotionEffect>, Simplifiable<Expression<? extends SkriptPotionEffect>>, SyntaxElement, RuntimeErrorProducer, SyntaxRuntimeErrorProducer

@Name("Potion Effect of Entity/Item") @Description({"An expression to obtain a specific potion effect type of an entity or item.","When an entity is affected by a potion effect but already has a weaker version of that effect type, the weaker version becomes hidden. If the weaker version has a longer duration, it returns after the stronger version expires.","NOTE: Hidden effects are not able to be changed."}) @Example("set {_effect} to the player\'s active speed effect") @Example("add 10 seconds to the player\'s slowness effect") @Example("clear the player\'s hidden strength effects") @Example("reset the player\'s weakness effects") @Example("delete the player\'s active jump boost effect") @RequiredPlugins("Paper 1.20.4+ for hidden effects") @Since("2.14") public class ExprPotionEffect extends ch.njol.skript.expressions.base.PropertyExpression<Object,SkriptPotionEffect>