Is it possible...

Started by Hazzah_ on

Topic category: Feature requests and ideas for MCreator

Joined Aug 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Is it possible...

...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.

Joined Jul 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You could make a local…
Wed, 05/29/2019 - 04:06

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.

Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I wanted to make Rotting…
Sun, 04/26/2020 - 23:08

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.

 

Hi, i wanted to make rotten food mechanic too so you can tell me how you did it (if you did it of course) 

Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Maybe you can make a few…
Fri, 05/08/2020 - 07:10

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 :)