Rework for MC1.20.5 + balance changes + optimization
Go to this datapack's page

This one was a ton of work to update, but now this datapack is much better thanks to the new 1.20.5 components. For me, the main improvement is just being able to see all recipes in the in-game recipe book:

Screenshot of the in-game recipe book, where all recipes are visible

See below for a detailed log of changes. Bon appetit!

Changes

  • All items now have their own “give” function, which can be used to give yourself the food if you have admin privileges or cheats turned on. The command is /function dnv.baking:give/<item_id>.
    • E.g. /function dnv.baking:give/golden_carrot_pie will give you a golden carrot pie.
  • Adapted recipes to new format, hugely simplifying the datapack and allowing the custom items to appear in the recipe book as if they were regular vanilla items.
  • New nutrition and saturation values to all foods except cake slices (see the table below). Each food now has these values roughly calculated from their ingredients, so they are more balanced.
  • All cookies added by this datapack, the sponge cakes, and custard tart are now twice as fast to eat (0.8 seconds).
  • Glow berry foods now also provide the glowing effect.
  • Holding chorus fruit pies no longer attracts endermen and eating a chorus fruit pie no longer angers nearby endermen.
  • Some items, such as foods with golden carrots or apples now have a “rarity” level, showing their name in a different color.
  • Changes to existing recipes:
    • The egg-based pies now require only 1 of their main ingredient instead of 2.
    • Custard tart recipe now requires an additional egg (to avoid conflict with cream pie recipe)
    • The sponge cake and custard tart recipes now output 2 items instead of 1.
  • Adapted to work with any player.block_interaction_range attribute value.
  • Optimized the chorus fruit pie’s teleport mechanic using the random command.
  • Fixed bug where golden carrot cake special effects were not being granted when eating its last slice.
Food Nutrition Saturation
carrot pie 9 12.6
golden carrot pie 12 20.0
sweet berry pie 8 6.2
glow berry pie 8 6.2
melon pie 8 7.8
glistering melon pie 12 19.8
cream pie 6 0.4
apple pie 8 5.8
golden apple pie 8 13.0
enchanted apple pie 8 13.0
chorus fruit pie 8 5.8
mushroom pie 7 9.2
sponge cake 4 3.7
cocoa sponge cake 5 2.3
custard tart 4 2.4
mushroom quiche 9 8.5
sugar cookie 2 2.2
sweet berry cookie 2 2.1
glow berry cookie 2 2.1
carrot bread 6 7.6
golden carrot bread 9 18.4
pumpkin bread 7 5.4