Started by
Fandwyn
on
Topic category: Help with Minecraft modding (Java Edition)
Hello,
I am trying to make it so that any item enchanted with an enchantment table receives the Curse of Vanishing enchantment. So far I am able to detect when a player enchants an item, and I know how to add enchantments to items. Accessing the Enchantment Table GUI is what eludes me. I have included an image of what I have so far.
I am using MCreator 2022.3 since I am coding for version 1.18.2.
Any help is greatly appreciated!
enchantment table slot id's are unkown or their is none and they use nbts instead. So better method is this. Get block is crafting table. And I would use player tick update.
Use item is crafted or player finishes using item. My bad. I said playertick incorrectly.