Started by
ByDeniz0
on
Topic category: Help with MCreator software
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
Topic category: Help with MCreator software
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
I dont think thats possible sorry :/
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
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
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.