Class CustomItem.EnchantmentInformation
java.lang.Object
com.github.imdabigboss.easydatapack.api.items.CustomItem.EnchantmentInformation
- Enclosing class:
- CustomItem
This class represents the information about an enchantment.
-
Constructor Summary
ConstructorsConstructorDescriptionEnchantmentInformation(@NonNull org.bukkit.enchantments.Enchantment enchantment, int level) -
Method Summary
-
Constructor Details
-
EnchantmentInformation
public EnchantmentInformation(@NonNull org.bukkit.enchantments.Enchantment enchantment, int level)
-
-
Method Details
-
getEnchantment
public @NonNull org.bukkit.enchantments.Enchantment getEnchantment() -
getLevel
public int getLevel()
-