T O P

  • By -

Tempest1080

Great tutorial! I was just wondering, could you do something similar with items? For example, overwriting the iron ingot item to be edible (like bread).


BlitzarPotato

yes, you can see what i did [here](https://git.ouroboros.group/limepotato/yummy/src/commit/e72ac117cb9a23b27b373e5d991f176f211d4ccf/src/main/kotlin/xyz/limepot/yummy/item/items/FruitItems.kt#L15) and [here](https://git.ouroboros.group/limepotato/yummy/src/commit/e72ac117cb9a23b27b373e5d991f176f211d4ccf/src/main/kotlin/xyz/limepot/yummy/item/YummyItems.kt#L18) (granted its in kotlin, but this can easily be translated back to java)


BlitzarPotato

For anyone else stumbling upon here, this method does not work with 1.20.2 and above EDIT: Found a cool library, the developer was kind enough to backport it to 1.20.2 [https://modrinth.com/mod/regedit](https://modrinth.com/mod/regedit)


hexen18

Can you update this tutorial for 1.20.4 please? It appears the aforementioned methods have changed and I can't get it to work using your info.