A Balanced Diet

Quick rating

A Balanced Diet

No reviews yet

A customizable food group-based nutrition and diet system, forked from the Diet mod.

Food & Culinary
Mod Loaders
Forge
Fabric
Minecraft

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Dev Environment
Client Required
Server Required

About

Project Details

Type
Mod
License
GNU Lesser General Public License v3.0 or later
Latest Version
diet-forge-3.0.2+1.20.1.jar
Authors
CurseForge
Modrinth

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID
Modrinth ID

Resources

External Links

Source Issues Wiki Discord

About

Description

About

A Balanced Diet is a fork of the Diet, which facilitates the creation and management of dietary food groups in Minecraft. Diet comes with a default configuration that creates five classical food groups (fruits, grains, vegetables, proteins, and sugars). The mod is highly configurable; users and modpack developers can define their own food groups, classifications, diet effects, notifications, etc.

This fork was created to add some additional clarity, balance, and quality of life features. These would have been made as a PR to the original mod, but the author stated the mod is not likely to have any further 1.20.1 updates. These new features are almost entirely optional and data-driven, and include a notification system for crossing specified thresholds, quality overlays to the diet bars that show what thresholds start providing positive or negative effects, and per-food nutrition definition. For more information about these new features see the 3.0 Changelog.

Downloads

Available on Modrinth Available on Curseforge

Features

Food Groups

Food groups are custom dietary groups that represent the types of food that you have eaten. Each group has a value ranging between 0% and 100% depending on how much of that particular category that a player has eaten. These values increase depending on what types of food a player eats and every group gradually decays when the player uses up their hunger bar.

By default, Diet comes with five classical food groups: Fruits, Grains, Proteins, Vegetables, and Sugars. Nutrition values are typically determined by tags. However, if enabled in the config, they can be set per-food based on datapack files at /diet/food_values.

By editing the diet-groups.toml configuration file in the world save's serverconfig folder, users and modpack developers can create their own custom food groups. Configurable options include:

  • Name
  • Item Icon
  • Hexcode Color
  • Ordering
  • Default Value
  • Gain Multiplier
  • Decay Multiplier

Please refer to the wiki for more detailed information. For information about 3.0+ features (like quality indicators, per-food nutrition, and notifications), see the 3.0 Changelog.

Dietary Effects

Dietary effects are custom rewards or penalties applied to players based on certain, configurable food group values. These effects can be configured through the diet-effects.toml file in the world save's serverconfig folder.

Possible effects can include any registered potion effect, vanilla and modded, as well as modifying attributes directly (i.e. increasing maximum health by an arbitrary value). The conditions for these effects are highly configurable, including checking specific values, checking only subsets of groups, applying effects cumulatively for each matching test, and much more.

Please refer to the wiki for more detailed information. For information about 3.0+ features (like quality indicators, per-food nutrition, and notifications), see the 3.0 Changelog.

Commands

Diet registers a few commands to help aid debugging and server management.

  • /diet
    • get <player> <group>
    • set <player> <group> <value>
    • add <player> <group> <value>
    • subtract <player> <group> <value>
    • reset <player>
    • pause <player>
    • resume <player>
    • export <filter> <argument>
    • notify <target> <notification_id>
    • notifications list
    • notifications all
    • notifications group <group_id>
    • notifications set <set_id>
    • notifications message <message_id>
    • notifications options <message_id>
    • notifications reset

Support

Please report all bugs, issues, and feature requests using the issue tracker on the mod's GitHub page. Please do not make issues on the original mod's GitHub page for features only present in this fork.

If preferred, I will respond to any pings in the Discord server for my current modpack, Desolate Planet. Feel free to reach out to me there as well.

License

All source code and assets are licensed under LGPL 3.0.

Donations

Donations to the original mod's author can be sent through Ko-fi.

All proceeds from the ad revenue on this project will be donated to GiveWell.

Compatibility

The standard "five food groups" tag system supports many mods, which can be viewed here, in the original mod's description.

A smaller subset of mods are supported by the custom food values system. A list of these mods can be found in the mod's default datapack. These default values assume a decreased drain rate for fruits and vegetables, and greatly increased drain rates for sugars.

If you would like to request additional support for this system, please open an issue or open a pull request to contribute directly.

About

A Balanced Diet is a fork of the Diet, which facilitates the creation and management of dietary food groups in Minecraft. Diet comes with a default configuration that creates five classical food groups (fruits, grains, vegetables, proteins, and sugars). The mod is highly configurable; users and modpack developers can define their own food groups, classifications, diet effects, notifications, etc.

This fork was created to add some additional clarity, balance, and quality of life features. These would have been made as a PR to the original mod, but the author stated the mod is not likely to have any further 1.20.1 updates. These new features are almost entirely optional and data-driven, and include a notification system for crossing specified thresholds, quality overlays to the diet bars that show what thresholds start providing positive or negative effects, and per-food nutrition definition. For more information about these new features see the 3.0 Changelog.

Downloads

Available on Modrinth Available on Curseforge

Features

Food Groups

Food groups are custom dietary groups that represent the types of food that you have eaten. Each group has a value ranging between 0% and 100% depending on how much of that particular category that a player has eaten. These values increase depending on what types of food a player eats and every group gradually decays when the player uses up their hunger bar.

By default, Diet comes with five classical food groups: Fruits, Grains, Proteins, Vegetables, and Sugars. Nutrition values are typically determined by tags. However, if enabled in the config, they can be set per-food based on datapack files at /diet/food_values.

By editing the diet-groups.toml configuration file in the world save's serverconfig folder, users and modpack developers can create their own custom food groups. Configurable options include:

  • Name
  • Item Icon
  • Hexcode Color
  • Ordering
  • Default Value
  • Gain Multiplier
  • Decay Multiplier

Please refer to the wiki for more detailed information. For information about 3.0+ features (like quality indicators, per-food nutrition, and notifications), see the 3.0 Changelog.

Dietary Effects

Dietary effects are custom rewards or penalties applied to players based on certain, configurable food group values. These effects can be configured through the diet-effects.toml file in the world save's serverconfig folder.

Possible effects can include any registered potion effect, vanilla and modded, as well as modifying attributes directly (i.e. increasing maximum health by an arbitrary value). The conditions for these effects are highly configurable, including checking specific values, checking only subsets of groups, applying effects cumulatively for each matching test, and much more.

Please refer to the wiki for more detailed information. For information about 3.0+ features (like quality indicators, per-food nutrition, and notifications), see the 3.0 Changelog.

Commands

Diet registers a few commands to help aid debugging and server management.

  • /diet
    • get <player> <group>
    • set <player> <group> <value>
    • add <player> <group> <value>
    • subtract <player> <group> <value>
    • reset <player>
    • pause <player>
    • resume <player>
    • export <filter> <argument>
    • notify <target> <notification_id>
    • notifications list
    • notifications all
    • notifications group <group_id>
    • notifications set <set_id>
    • notifications message <message_id>
    • notifications options <message_id>
    • notifications reset

Support

Please report all bugs, issues, and feature requests using the issue tracker on the mod's GitHub page. Please do not make issues on the original mod's GitHub page for features only present in this fork.

If preferred, I will respond to any pings in the Discord server for my current modpack, Desolate Planet. Feel free to reach out to me there as well.

License

All source code and assets are licensed under LGPL 3.0.

Donations

Donations to the original mod's author can be sent through Ko-fi.

All proceeds from the ad revenue on this project will be donated to GiveWell.

Compatibility

The standard "five food groups" tag system supports many mods, which can be viewed here, in the original mod's description.

A smaller subset of mods are supported by the custom food values system. A list of these mods can be found in the mod's default datapack. These default values assume a decreased drain rate for fruits and vegetables, and greatly increased drain rates for sugars.

If you would like to request additional support for this system, please open an issue or open a pull request to contribute directly.

Screenshots

Gallery

  • Diet GUI (Quality View)
    Diet GUI (Quality View) The quality view of the diet GUI used in the Desolate Planet modpack
  • Diet GUI
    Diet GUI The diet GUI used in the Desolate Planet modpack
  • Diet GUI
    Diet GUI The diet GUI used in the Desolate Planet modpack
  • Diet GUI (Quality View)
    Diet GUI (Quality View) The quality view of the diet GUI used in the Desolate Planet modpack

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

~64,000
Total Downloads
CurseForge
~55,000
Modrinth
~9,000
Last Updated
CurseForge
Created
CurseForge
Modrinth
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works