Making blocks Edible

Started by ByDeniz0 on

Topic category: Help with MCreator software

Last seen on 08:52, 19. May 2022
Joined Aug 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Making blocks Edible

There was a mod that made all the blocks in the game edible, I want to make a mod like that. How do I make all the blocks in the game edible

Last seen on 00:43, 14. Jan 2023
Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I dont think thats possible…
Sun, 05/29/2022 - 00:30

I dont think thats possible sorry :/

Last seen on 13:58, 21. Jan 2023
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
its possible but practically…
Mon, 05/30/2022 - 17:24

its possible but practically is impossible unless you add custom code and understand what you are doing and you have to extend the block structure type in minecraft a very annoying task indeed or you could do the other just as insane option and change every block manually

Last seen on 14:09, 16. Apr 2024
Joined Feb 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
If you mean edible like…
Mon, 04/15/2024 - 15:19

If you mean edible like normal food you can make an item for all the blocks and then change the loot tables for the blocks to drop your item instead of the normal one. This is a huge undertaking though

Last seen on 14:22, 19. Apr 2024
Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Another possibility could be…
Mon, 04/15/2024 - 16:12

Another possibility could be to use the global trigger player right-clicks on block

Then have in if block that checks if the player is not sneaking, player hunger is not at full, and the provided world is not client side(to avoid ghost blocks)

Inside the if block, have the block at the provided location get destroyed, and add food to the player, possibly even play a sound if you want.

You could also further customize the if block by adding tag or hardness requirements, or by making sure it is not bedrock.

If somebody reads this and needs more clarification, just search the forums for all of the procedure things, every procedure block needed is explained somewhere on the MCreator forums.

One final note, I will not post an image of the procedure.