Class PotionUtils

java.lang.Object
org.skriptlang.skript.bukkit.potion.util.PotionUtils

public final class PotionUtils extends Object
  • Field Details

  • Constructor Details

    • PotionUtils

      public PotionUtils()
  • Method Details

    • getHiddenEffects

      public static Deque<org.bukkit.potion.PotionEffect> getHiddenEffects(org.bukkit.potion.PotionEffect effect)
      A utility method to obtain the hidden effects of a potion effect.
      Parameters:
      effect - The effect to obtain hidden effects from.
      Returns:
      A deque of the hidden effects of effect ordered from most hidden to least hidden.