I have a problem with the procedure of giving food to the player (I don't know how to apply it)

Started by Agenteblack13 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Feb 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I have a problem with the procedure of giving food to the player (I don't know how to apply it)
Tue, 07/21/2020 - 22:11 (edited)

When I wanted to create a procedure for a block to work as food, I found a procedure called "Get player food level", but the problem is, I don't know how to apply it. please help
PS: This block would work like a cake

Edited by Agenteblack13 on Tue, 07/21/2020 - 22:11
Joined Aug 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
There is a block called "Set…
Mon, 07/20/2020 - 19:07

There is a block called "Set food of Event/target entity to 5".

When you right click your block do "Set food of Event/target entity to Get player food level + number_you_want_to_add".

Joined Feb 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thank you very much for your…
Tue, 07/21/2020 - 21:41

Thank you very much for your answer, I will prove it
 

 
Joined Feb 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
A question, does this work…
Tue, 07/21/2020 - 21:54

A question, does this work to add or to set food level?

Joined Feb 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Could you show me a…
Tue, 07/21/2020 - 21:59

Could you show me a screenshot of the procedure block?