Class EnchantmentUtils

java.lang.Object
ch.njol.skript.bukkitutil.EnchantmentUtils

public class EnchantmentUtils extends Object
Maps enchantments to their ids in Minecraft 1.12.
  • Constructor Details

    • EnchantmentUtils

      public EnchantmentUtils()
  • Method Details

    • getKey

      public static String getKey(org.bukkit.enchantments.Enchantment ench)
    • getByKey

      public static @Nullable org.bukkit.enchantments.Enchantment getByKey(String key)