Host your Minecraft server on BisectHosting - get 25% off your first month with code MODRINTH.
Filter versions...

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

ADDITIONS

  • Extended compatibility for Nutrition to snapshot 24w20a (pack format 44)

CHANGES

  • The confirmation messages for individual toggles (for Nutrition, that's the Breath Particles) now briefly display above the player's action bar instead of cluttering up the chat box.

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)
  • Backport of v1.1.2 for Minecraft 1.20.0 and 1.20.1
  • Extended compatibility to snapshot 24w04a (pack format number 29)
  • Corrected internal references to the data pack's version
  • Extended compatibility to snapshot 24w03b (pack format number 28)
  • Fixed an issue where the data pack sometimes wouldn't disable itself after the player requested an uninstall

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

Project members

MacchuPicchu

Owner


Technical information

License
CC-BY-SA-4.0
Project ID