How do you make a block that is also food (like cake)?

Started by Harry_Da_Boss on

Topic category: Help with modding (Java Edition)

Last seen on 15:06, 8. Jul 2020
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do you make a block that is also food (like cake)?

I would like to make a Giant Donut for my mod. Basically a cake. How do you do this?

Last seen on 22:41, 29. Dec 2021
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Have a procedure for on…
Sat, 05/30/2020 - 19:52

Have a procedure for on right click, and have it replace the food with the second stage of the food block and then have the rest of the procedure like this:

 

    {Set Player Health to: ([Get player health] + [a number])}

and then repeat it for the second block.

Last seen on 15:06, 8. Jul 2020
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thanks!  
Sat, 05/30/2020 - 20:01

Thanks!