Started by
Hazzah_
on
Topic category: Feature requests and ideas for MCreator
...to add some more events to Food Items?
I wanted to make Rotting Food mechanic, but I don't see any other way to do it, than some kind of "random tick event" or maybe coding.
You could make a local variable in a procedure called Rot. Make the procedure only run every time a player sleeps or something. Every time a player sleeps your whatever you want, add 1 to the Rot var. In that same procedure check for when Rot >= 5 or something, check if the player has your food, then remove that food and add the rotted food. This might work.
Hi, i wanted to make rotten food mechanic too so you can tell me how you did it (if you did it of course)
Maybe you can make a few different items and then when (?) tick the item gets removed and the rotten one comes in
hope you can do this :)