ADDITIONS
- The tooltips for each option in the Options Menu (also the advanced options menu) now include the name of the option as the first line of the tooltip. Hopefully this makes things more readable
CHANGES
- The confirmation message for Reset Player now displays above the player's action bar instead of the chat box
ADDITIONS
- Nutrition is now compatible with Minecraft 1.21 (pack format 48) !
- Nutrition is now compatible only with Minecraft 1.21 pre-1 or above (pack format 46)
CHANGES
- Certain directories (folders) in the data pack have had their names changed in accordance with snapshot 24w21a. This should have no effect on gameplay
Finally, an actual update! Nutrition once again works with the latest Minecraft versions. Enjoy!
ADDITIONS
- Nutrition is now compatible only with Minecraft 1.20.5 or above (pack format 41)
- Extended compatibility for Nutrition to snapshot 24w18a (pack format 42)
- Added a pack ID (mp.nutr) in accordance with the Smithed conventions
CHANGES
- Passive DP gain has been buffed by 5%
- Passive DP loss has been nerfed by 5%
FIXES
- Fixed an issue where foods' DPs wouldn't go below 1 passively (unless eaten directly, in other words)
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.
- Foods no longer have a chance to actively lose 2 deliciousness points when eaten. After all, foods can lose 1 DP passively when eaten, too, and I felt like the possibility of a food losing 3 DP at once was a bit much.
- Foods that are part of more than one food group will now correctly have a chance to lose DP passively.
- The color palette used for the particles that appear when a player is rewarded with positive effects has been changed from a yellow one to a green one.
- The header for the options menu now includes the words "options menu", complete with an informative hover text bubble.
- The header for the stats menu now includes my name and the words "stats menu", the latter of which have also been given an informative hover text bubble.
- The Reset Player option now displays a confirmation message in chat
- Obtaining copies of Guide to Nutrition more than a single time (e.g., by force-requesting more copies from the options menu) no longer displays the single-copy warning message
- The Uninstall Nutrition option now does a better job of disabling the data pack correctly