Started by
Ser_nih
on
Topic category: Help with MCreator software
Hi, I have several types of food, and each of them gives a unique potion effect, but when I eat one of them, I get the effects of ALL the types of my food that are in the inventory. please help me to make it so that the effect of the food I eat is given. Thank you in advance
Can you add screenshots of your project?
Maybe you have bug in procedure
thank you for answering
If you need other screenshots, please tell us
Can you give us a higher res image? We can't even read it!
bruh, the image resolution is so low... but, is that the "Player finishes using item" global trigger I see you're using? if you're making a simple "add potion effect" procedure for custom food/s only, please don't use global triggers. also, you did not even use an if-statement with a "provided itemstack = [your food]" condition check for it, to see if the food that's eaten by the player is equivalent to your unique food...
to give you a simple fix: go to your food's mod element, go to the "triggers" tab, then use the food's "when food is eaten" trigger instead:
just put your procedure there that gives a unique potion effect to the player who eats it. remember to use this trigger for every single food you make that will add potion effect/s or do something unique.
pardon me if I sounded harsh btw; I didn't mean it. I simply wanted to help, but I guess I may have gotten a little carried away, looking back, that I think I even looked like an elitist modder from the Minecraft Forge forums XD
here's an additional tip: always upload high-resolution images next time so that we will be able to clearly identify the things in them and be able to help wherever it's needed