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

[BUGFIX] Deleted Code that caused incompatibility with NutritionZ #884

Open
wants to merge 1 commit into
base: 1.21.1
Choose a base branch
from

Conversation

marvin2309
Copy link

@marvin2309 marvin2309 commented Oct 17, 2024

While playing with both NutritionZ (1.0.11+1.21.1) and TAN (9.2.0.171+1.21.1) on Fabric, I discoverd a major incompatibility between these two mods causing NutritionZ to not track lost nutritional values.Normally in NutritionZ if you would lose hunger your nutritional values would go down by one unit, however when installing both this behavior would not work at all.

While looking at the source code of both mods I discoverd that NutritionZ uses mixins to alter the behavior of HungerManager.class where foodTickTimer resides. I am no expert in modding but by trial and error I found that these lines in TAN would cause a problem for NutritionZ.

Mixin in NutritionZ

I did this for my own survival world and I thought maybe other people might run into the same problem without knowledge in java.

Love your contribution to the community, much love!

EDIT:
My Discord: Marvin23

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.

1 participant