Class CondIsInfinite

All Implemented Interfaces:
Debuggable, SyntaxElement, Checker<org.bukkit.potion.PotionEffect>

@Name("Is Infinite") @Description("Checks whether potion effects are infinite.") @Examples("all of the active potion effects of the player are infinite") @Since("INSERT VERSION") public class CondIsInfinite extends PropertyCondition<org.bukkit.potion.PotionEffect>
  • Constructor Details

    • CondIsInfinite

      public CondIsInfinite()
  • Method Details

    • check

      public boolean check(org.bukkit.potion.PotionEffect potion)
      Specified by:
      check in interface Checker<org.bukkit.potion.PotionEffect>
      Specified by:
      check in class PropertyCondition<org.bukkit.potion.PotionEffect>
    • getPropertyName

      protected String getPropertyName()
      Specified by:
      getPropertyName in class PropertyCondition<org.bukkit.potion.PotionEffect>