Class EnchantmentUtils

java.lang.Object
me.sciguymjm.uberenchant.utils.EnchantmentUtils

public class EnchantmentUtils extends Object
Utility class for enchantments
  • Constructor Details

    • EnchantmentUtils

      public EnchantmentUtils()
  • Method Details

    • getEnchantment

      public static org.bukkit.enchantments.Enchantment getEnchantment(String name)
      Gets an enchantment by name from UberRecords.
      Parameters:
      name - - The enchantment name to get (can be a partial string like "sharp" gives "Sharpness")
      Returns:
      The enchantment or null