GithubHelp home page GithubHelp logo

diet's Introduction

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.

diet's People

Contributors

blueduckyt avatar isensehostility avatar ledshade avatar pixvoxel avatar regnander avatar theillusivec4 avatar yuesha-yc avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.