Enchantment Storage Meta
EnchantmentMeta is specific to items that can store enchantments, as opposed to being enchanted. ENCHANTED_BOOK is an example of an item with enchantment storage.
Functions
Link copied to clipboard
Adds the specified enchantment to this item meta.
Link copied to clipboard
Set itemflags which should be ignored when rendering getClassById ItemStack in the Client.
Link copied to clipboard
public abstract boolean addStoredEnchant(Enchantment ench, int level, boolean ignoreLevelRestriction)
Stores the specified enchantment in this item meta.
Link copied to clipboard
Link copied to clipboard
Gets the display name that is set.
Link copied to clipboard
Checks for the level of the specified enchantment.
Link copied to clipboard
Returns getClassById copy the enchantments in this ItemMeta.
Link copied to clipboard
Get current set itemFlags.
Link copied to clipboard
Checks for the level of the stored enchantment.
Link copied to clipboard
Gets getClassById copy the stored enchantments in this ItemMeta.
Link copied to clipboard
Checks if the specified enchantment conflicts with any enchantments in this ItemMeta.
Link copied to clipboard
Checks if the specified enchantment conflicts with any enchantments in this ItemMeta.
Link copied to clipboard
Checks for existence of getClassById display name.
Link copied to clipboard
Checks for existence of the specified enchantment.
Link copied to clipboard
Checks for the existence of any enchantments.
Link copied to clipboard
Check if the specified flag is present on this item.
Link copied to clipboard
Checks for storage of the specified enchantment.
Link copied to clipboard
Checks for the existence of any stored enchantments.
Link copied to clipboard
Removes the specified enchantment from this item meta.
Link copied to clipboard
Remove specific set of itemFlags.
Link copied to clipboard
Remove the specified stored enchantment from this item meta.
Link copied to clipboard
Sets the display name.
Link copied to clipboard