how do i make it so when i eat a food object it gives me multiple items

Started by Botkira on

Topic category: Help with modding (Java Edition)

Last seen on 05:52, 6. Jan 2022
Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how do i make it so when i eat a food object it gives me multiple items
Wed, 01/05/2022 - 09:36 (edited)

ive been stuck on this for a while

Edited by Botkira on Wed, 01/05/2022 - 09:36
Last seen on 11:41, 31. Mar 2024
Joined Aug 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It's quite simple. You need…
Wed, 01/05/2022 - 11:15

It's quite simple.

You need to add a procedure to the "When food eaten" event.

That procedure needs to have a block that adds an item to player's inventory.

I recommend checking the MCreator tutorial playlist on youtube.

Last seen on 05:52, 6. Jan 2022
Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
by any chance can you show a…
Wed, 01/05/2022 - 11:41

by any chance can you show a screenshot or imgur of whats in the procedure?

 

Last seen on 14:03, 18. Apr 2024
Joined Sep 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
When food eaten Add x to…
Wed, 01/05/2022 - 13:49

When food eaten

Add x to player inventory

 

Last seen on 05:52, 6. Jan 2022
Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i figured out the problem,…
Wed, 01/05/2022 - 21:36

i figured out the problem, the procedure wasn't connected some reason

Last seen on 06:27, 24. Jan 2024
Joined Jan 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Can you tell me how to make…
Mon, 01/22/2024 - 08:52

Can you tell me how to make it work for me after eating?