How to make blocks edible?

Started by BeePlay on

Topic category: Help with Minecraft modding (Java Edition)

Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make blocks edible?
Sun, 05/04/2025 - 06:51 (edited)

Ok, so my new mod features gummies, right? You know that really good mod called Alex's Caves that got an update a while ago? It added edible blocks!

So, how do I make blocks in my mod edible too (not through procedure "When item right clicked")?

Edited by BeePlay on Sun, 05/04/2025 - 06:51
Joined May 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I don’t think you can do…
Sun, 05/04/2025 - 11:10

I don’t think you can do that without procedures. If you know how to, you might make a custom element that is a block and edible.

Joined Apr 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
you could make a block and…
Sun, 06/01/2025 - 13:22

you could make a block and an item that work together, so the block drops the food item, which can be eaten, but also places the block if you just click the ground, similiar to how carrots and potatoes work.