Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update nutrition stats for non-food hunger value additions #5

Merged
merged 2 commits into from Jul 22, 2023

Conversation

serenibyss
Copy link
Member

Closes #3

Tracks hunger value additions done by items or effects which add to hunger value but do not ever fire the FoodEaten event. Normalizes all stats towards "50" (default value) when these additions occur. Tested to work with a few things (IC2 cans, healing axe). May need further testing to ensure no timing consequences, as this code relies on multiple events firing in certain orders (for instance, if WorldTickEvent fires between FoodStatsAddition and FoodEaten events, values could be improperly changed).

Also updates buildscript to latest, and adjusts some out of date references in readme and pack.mcmeta

such as healing axe, IC2 food cans, etc

Additionally update readme and other links for accuracy
@Pxx500 Pxx500 requested a review from a team June 21, 2023 13:07
@Dream-Master Dream-Master merged commit 357a808 into master Jul 22, 2023
1 check passed
@Dream-Master Dream-Master deleted the update-stats-for-nonfoods branch July 22, 2023 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Items/effects to handle related to "bypassing" food
3 participants