Diet

Diet

A customizable food group-based nutrition and diet system.

by
2.2M Downloads
fabricforgequiltfoodgame-mechanics
Rent Server with this Mod

Screenshots

Diet GUI

About this Mod

Diet is a mod that 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, and diet effects.

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.

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.

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.

Affiliates

Five Food Groups - Supported Mods

Please request support by opening an issue on the issue tracker or opening a pull request to contribute directly.

Available Versions

diet-quilt-2.1.1+1.20.1release
MC 1.20, 1.20.1quilt
October 24, 2023
diet-fabric-2.1.1+1.20.1release
MC 1.20, 1.20.1fabric
October 24, 2023
diet-forge-2.1.1+1.20.1release
MC 1.20, 1.20.1forge
October 24, 2023
diet-quilt-2.0.1+1.19.2release
MC 1.19, 1.19.1, 1.19.2quilt
October 24, 2023
diet-forge-2.0.1+1.19.2release
MC 1.19, 1.19.1, 1.19.2forge
October 24, 2023

How to Install Diet on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (1.20.1).

3

Install Mod

Open the mod browser in the dashboard and search for "Diet". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

fabricforgequilt

Minecraft Versions

1.20.1, 1.20, 1.19.2 (+5 more)

Server-side

Required

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

Diet server crashes on startup – what to do?

Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.20.1). You can switch loaders with one click in the panel.

Is Diet compatible with fabric and forge and quilt?

Diet officially supports fabric, forge, quilt for Minecraft 1.20.1, 1.20, 1.19.2. Note: Forge and Fabric mods are NOT cross-compatible – pick one loader and stick with it. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with Diet – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Diet consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install Diet with just one click on your server.

Recommended RAM
4 GBfrom €5.2/mo
Minimum 3 GB | per 8 players
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
GNU Lesser General Public License v3.0 or later
Server-side
Required

Supported Versions

1.20.11.201.19.21.19.11.191.18.21.17.11.16.5