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

@Name("Potion Effect - Duration") @Description("An expression to obtain the duration of a potion effect.") @Example("set the duration of {_potion} to 10 seconds") @Example("add 10 seconds to the duration of the player\'s speed effect") @Since("2.14") public class ExprPotionDuration extends ch.njol.skript.expressions.base.SimplePropertyExpression<SkriptPotionEffect,Timespan>