Library mod that can make any item edible.
Has a Java API and JSON data-driven format usable in data packs and mods.
I have made 2 examples mods:
Simple JSON file to make a brick give 1 shank of hunger:
{ "item": "minecraft:brick", "hunger": 2, "saturation": 0 }
DeltaNedas
Owner