Skip to content
This repository was archived by the owner on Sep 23, 2026. It is now read-only.

Latest commit

 

History

17 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nutrition

Diet history and food variety for TF-Minecraft characters.

Nutrition is a standalone diet plugin that evaluates what a player has eaten over time. It combines the nutritional value of food groups with variety across recent meals, then maps the result to a diet level and associated character effects.

Archived repository: this README describes the preserved plugin logic. The bundled example data is incomplete and does not represent a ready-to-play food catalogue.

Features

  • Recent meal history — tracks a rolling selection of consumed foods instead of judging a diet from a single meal.
  • Food groups — recognises supported vanilla foods and custom MMOItems foods through their assigned groups.
  • Variety scoring — repeated meals and a more balanced spread of different foods produce different diversity multipliers.
  • Diet levels — combines food-group values and diversity to determine the player's current nutrition level.
  • Visible feedback — displays nutrition and diversity bars, with a notification when the diet level changes.
  • Character effects — diet levels can apply MMOCore attribute values, and meal history is saved between sessions.

Documentation

Project documentation

Technical documentation is maintained in TF-Minecraft/Docs.

License

Copyright (c) 2026 TF-Minecraft contributors.

TF-Minecraft-authored material in this repository is licensed under the Artistic License 2.0. Third-party dependencies and bundled material retain their own licenses.

About

Food groups, diet variety, and player nutrition for TFMC Minecraft servers.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages