Replacing food with an other item when it's eaten.

Started by Adi_MC on Fri, 10/19/2018 - 20:49

Topic category: User side tutorials

Last seen on 10:50, 17. Nov 2018
Joined Oct 2018
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Replacing food with an other item when it's eaten.
Fri, 10/19/2018 - 20:49

Okay, soo...

I tried to make popcorn in Minecraft and I wanted to do something cool about it. I made a box for it, soo you can eat a lot of popcorn in the same time. But here's the problem: When I eat it, it disappears with the box (looks like somebody was hungry there and eated the paper too...) and I don't want that. Do you have any solution to that?

Regards, Adi.

Last seen on 17:14, 15. Nov 2018
Joined Nov 2013
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Easy; create a procedure…
Sat, 10/20/2018 - 03:52

Easy; create a procedure that adds the item to the player's inventory, and set that procedure to run when the item is eaten on its Events page.

Last seen on 21:22, 15. Nov 2018
Joined Dec 2016
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
first you should make a…
Sat, 10/20/2018 - 07:42

first you should make a popcorn bag empty png and make it a mod then do the first replys answer.

Last seen on 10:50, 17. Nov 2018
Joined Oct 2018
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Thank you!
Sat, 10/20/2018 - 09:13

Thank you!