Details
Supported Bukkit Versions
Changelog
EnchantmentAPI v2.0 - 6-5-13
- Changed the enchantment table integration to blend in with vanilla enchanting
- You can no longer enchant an item with custom enchantments on it (through an enchanting table)
- The getEnchantmentLevel method now is only called for successful enchants
- A second constructor was added for enchantments to specify the enchantment weight (chance of getting chosen)
- Vanilla enchantments will have slightly different chances due to the new heuristics used for enchanting
EnchantmentAPI v1.8 6-4-13
- Changed Java build path to Java 6 from Java 7
EnchantmentAPI v1.7 6-3-13
- Added an itemHasEnchantment(ItemStack item, String enchantName) helper method
- Changed getEnchantments(ItemStack item) to return a map of the enchantments and their levels
- Fixed many aspects of equip and unequip effects (problems with creative inventory, chests, and items breaking)
EnchantmentAPI v1.6 - 6-2-13
- Added a way to unregister enchantments
- Fixed recognizing enchantments already registered
EnchantmentAPI v1.5 - 6-2-13
- Added Equip/Unequip effects
- Added a way to get the enchantments of an item
- Added a way to remove enchantments
- Fixed overwriting the same enchantment that has a lower level
EnchantmentAPI v1.4 - 6-2-13
- Added Miscellaneous Enchantment Effects
- Added an enchantment level parameter to tool enchantments
- Cleaned up the code
EnchantmentAPI v1.3 - 6-1-13
- Added Armor Enchantment Effects
- Added Tool Enchantment Effects
- Changed the applyEffect method parameters for more control
EnchantmentAPI v1.2 - 5-31-13
- Removed yet another debugging output that was accidentally left in
EnchantmentAPI v1.1 - 5-31-13
- Removed a debugging output that was accidentally left in
EnchantmentAPI v1.0 - 5-31-13