I'm also trying to addEnchantment to itemstacks after identifying an enchantment. For some reason this will not enchant the item for some reason. Enchantment enchant = (whatever enchantment your getting) Itemstack item = (wherever your getting the item) item.addenchantment(enchant, enchant.getMaxLevel())); ect. I didn't think it would work under itemstack but hey I figured that since its there try it. However this is a pretty much a nogo.