Enchantment Table
With version 3.0, the enchantment table has a new set of mechanics that allows you to enchant any item in the game if it has at least one available enchantment!
When you place an item into the slot, it converts it a placeholder book in order to allow the enchantments to show choices on the right hand side. The book lets you know what item you placed, how many there were, and whether or not the item can be enchanted so you know its safely stored :)
When you select an enchantment, the item you originally placed is enchanted and restored to its original form in the enchantment slot. If you had placed more than one item originally, one will be enchanted and the rest will return to your inventory. (I used night vision as an example enchantment for an arrow, not very useful but does it have to be?)
If you close the enchantment table or remove the book from the slot, your item will also be restored for you so you don't ever lose your item :)
A Quick Question. Is this possible to disable this feature in the plugin. Because I just need the vanilla enchantment table(Not the new mechanics)
@au_sebagius7110
Yeah I can't really see the use in enchanting arrows and other items. I just need the custom enchants so that I can apply them and give them to players as a reward for completing tasks.
@au_sebagius7110
use permission "- -EnchantmentAPI.table"