Changelog
TECHNICAL IMPROVEMENTS This version is the first that is only available for Minecraft 1.20.2 and above. This has given me extra freedom to experiment with a bunch of command wizardry newly added by Mojang. Chief among them are function macros, which are easily the best thing to have happened to data pack writing since I began developing them in 2020. I rebuilt Nutrition from the ground up using these function macros; thanks to them, version 1.2.0 is over 20% lighter than the previous one, while having more features!
BRAND NEW STATS MENU The previous stats menu (which shows the player's deliciousness points for each food) was admittedly less than ideal – the color scheme was a bit dull, and it spammed players' chat boxes with almost 50 lines of text, making it difficult to navigate effectively. No longer. I took advantage of the new extended emoji support to reorganize this menu into just four lines, each with ten color-coded icons. Hover over these icons to see the corresponding foods' names, exact DPs, and what effects you might get if you take a bite!
PASSIVE DP FIXES When deciding which foods to passively deduct deliciousness points from (after the player had eaten something), Nutrition used to define a single number, and then base its decision for all forty foods based on that one number. In version 1.2.0, Nutrition redefines this number before dealing with each food individually, something that was only realistic with function macros. This should introduce a healthy amount of extra variation into players' tastiness stats.
MULTI-VERSION SUPPORT Another new feature from Mojang is the ability to define more than one supported version (technically, pack format number) at the same time in data packs. Because of this, Nutrition 1.2.0 works seamlessly in Minecraft versions 1.20.2, 1.20.3, and 1.20.4 at the same time.
Files
External resources
Project members
MacchuPicchu
Owner