Package me.sciguymjm.uberenchant.utils
Class EnchantmentUtils
java.lang.Object
me.sciguymjm.uberenchant.utils.EnchantmentUtils
Utility class for enchantments
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.bukkit.enchantments.Enchantment
getEnchantment
(String name) Gets an enchantment by name from UberRecords.
-
Constructor Details
-
EnchantmentUtils
public EnchantmentUtils()
-
-
Method Details
-
getEnchantment
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
-