Package ch.njol.skript.bukkitutil
Class EnchantmentUtils
java.lang.Object
ch.njol.skript.bukkitutil.EnchantmentUtils
Maps enchantments to their keys.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ClassInfo
<org.bukkit.enchantments.Enchantment> static @Nullable org.bukkit.enchantments.Enchantment
static String
getKey
(org.bukkit.enchantments.Enchantment enchantment) static Collection
<String> getNames()
static @Nullable org.bukkit.enchantments.Enchantment
static String
toString
(org.bukkit.enchantments.Enchantment enchantment) static String
toString
(org.bukkit.enchantments.Enchantment enchantment, int flags)
-
Constructor Details
-
EnchantmentUtils
public EnchantmentUtils()
-
-
Method Details
-
getKey
-
getByKey
-
parseEnchantment
-
getNames
-
toString
-
toString
-
createClassInfo
-