Package me.bimmr.bimmcore.utils
Class PotionUtil
- java.lang.Object
-
- me.bimmr.bimmcore.utils.PotionUtil
-
public class PotionUtil extends java.lang.Object
A Utilities class to manage Potions to and from strings
-
-
Constructor Summary
Constructors Constructor Description PotionUtil()
-
Method Summary
Modifier and Type Method Description static org.bukkit.potion.PotionEffect
getPotionEffect(java.lang.String potionCode)
static java.util.ArrayList<org.bukkit.potion.PotionEffect>
getPotionEffects(java.util.List<java.lang.String> potionCodes)
static java.util.ArrayList<java.lang.String>
getPotionEffectsToString(java.util.List<org.bukkit.potion.PotionEffect> potions)
static java.lang.String
getPotionEffectToString(org.bukkit.potion.PotionEffect pe)
-
-
-
Method Detail
-
getPotionEffect
public static org.bukkit.potion.PotionEffect getPotionEffect(java.lang.String potionCode)
-
getPotionEffects
public static java.util.ArrayList<org.bukkit.potion.PotionEffect> getPotionEffects(java.util.List<java.lang.String> potionCodes)
-
getPotionEffectsToString
public static java.util.ArrayList<java.lang.String> getPotionEffectsToString(java.util.List<org.bukkit.potion.PotionEffect> potions)
-
getPotionEffectToString
public static java.lang.String getPotionEffectToString(org.bukkit.potion.PotionEffect pe)
-
-