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

Started by Adi_MC on

Topic category: User side tutorials

Active 4 years ago
Joined Oct 2018
Points:
784

User statistics:

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

Active 1 year ago
Joined Nov 2013
Points:
746

User statistics:

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

Active 5 years ago
Joined Dec 2016
Points:
746

User statistics:

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

Active 4 years ago
Joined Oct 2018
Points:
784

User statistics:

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

Thank you!

Active 4 years ago
Joined Oct 2018
Points:
784

User statistics:

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