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

Started by Harry_Da_Boss on

Topic category: Help with Minecraft modding (Java Edition)

Active 5 years ago
Joined May 2020
Points:
659

User statistics:

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

Active 3 years ago
Joined Mar 2020
Points:
1202

User statistics:

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

Active 5 years ago
Joined May 2020
Points:
659

User statistics:

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

Thanks!