Skip to content

illusivesoulworks/diet

Diet

License: LGPL v3 ko-fi

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.

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>

Downloads

Support

Please report all bugs, issues, and feature requests to the issue tracker.

For non-technical support and questions, join the developer's Discord.

License

All source code and assets are licensed under LGPL 3.0.

Donations

Donations to the developer can be sent through Ko-fi.

Affiliates

BisectHosting

Five Food Groups - Supported Mods

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

About

No description, website, or topics provided.

Resources

License

Unknown and 2 other licenses found

Licenses found

Unknown
LICENSE
GPL-3.0
COPYING
LGPL-3.0
COPYING.LESSER

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published

Languages