Started by
Catnip
on
Topic category: Advanced modding
Hi, I was just wondering if anyone knows how to apply an enchantment from another mod to a specific itemstack.
I'm asking because I want to make a little cross-mod compatibility between my staffs mod and The Endless Hordes, where you could use a block from Endless Hordes to apply a staffs mod enchantment to a staffs mod item. I already know how to use tags to determine if it is the correct item, I was just wondering how I could apply the enchantment, because its from a different mod.
this might work, I don't have any external mod with enchantments I can test it on though.
this will enchant the held item of the provided entity. if you want something else and can't figure it out just ask :3