I own and operate a mcpe server and have had a number of updates to the server. Recently, I began to tackle adding in custom weapons, which I got to work successfully. However, I can't figure out how to code to allow the custom swords to be enchanted. It says, item cannot be enchanted, but I'm not sure how to remedy this. The swords and crafting recipes work fine, but I cant find out how to add in enchantments to the items.
I own and operate a mcpe server and have had a number of updates to the server. Recently, I began to tackle adding in custom weapons, which I got to work successfully. However, I can't figure out how to code to allow the custom swords to be enchanted. It says, item cannot be enchanted, but I'm not sure how to remedy this. The swords and crafting recipes work fine, but I cant find out how to add in enchantments to the items.