Started by zanyahtzee on Fri, 07/30/2021 - 17:23
Topic category: Help with modding (Java Edition)
Hi, haven't used MCreator in a while, and was pleasantly surprised by the abundance of new features. Figured I'd give it another whirl, except I can't quite figure out the procedure. I have an image attached of how I think it should work.
Upon consumption I want the game to scan the player's inventory for one of the items, giving the ones on top priority, and replacing the first one that it finds with an enchanted version, or better yet, enchanting the already existing item. How do I do that? I already gave it a shot, but doesn't seem to work in game. What am I doing wrong?
https://imgur.com/rxNnlqD image of the issue at hand.
Edited by zanyahtzee on Fri, 07/30/2021 - 17:29
Huh, the image doesn't seem to want to appear no matter how I post it, so here's the imgur link instead lmao.