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.ExprPotionEffects
All Implemented Interfaces:
Debuggable, Expression<SkriptPotionEffect>, Loopable<SkriptPotionEffect>, Simplifiable<Expression<? extends SkriptPotionEffect>>, SyntaxElement, RuntimeErrorProducer, SyntaxRuntimeErrorProducer

@Name("Potion Effects of Entity/Item") @Description({"An expression to obtain the active or hidden potion effects 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.","NOTE: Clearing the base potion effects of a potion item is not possible. If you wish to do so, just set the item to a water bottle."}) @Example("set {_effects::*} to the active potion effects of the player") @Example("clear the player\'s hidden potion effects") @Example("add the potion effects of the player to the potion effects of the player\'s tool") @Example("reset the potion effects of the player\'s tool") @Example("remove speed and night vision from the potion effects of the player") @RequiredPlugins("Paper 1.20.4+ for hidden effects") @Since("2.5.2, INSERT VERSION (active/hidden support, more change modes)") public class ExprPotionEffects extends ch.njol.skript.expressions.base.PropertyExpression<Object,SkriptPotionEffect>