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

Started by Adi_MC on

Topic category: User side tutorials

Joined Oct 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Replacing food with an other item when it's eaten.

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.

Joined Nov 2013
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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.

Joined Dec 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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.

Joined Oct 2018
Points:

User statistics:

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

Thank you!

Joined Oct 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
When I'm looking at this…
Mon, 11/18/2019 - 11:54

When I'm looking at this post now I see a lot of grammar mistakes. Sorry about that.