Started by
LorenzoHowar
on
Topic category: Help with Minecraft modding (Java Edition)
Hello!
I'm beginning my journey into mod making, I already covered the basics and so, but now I want to add something I have not idea how to do it.
How do I change the player base hunger rate?
I want to hunger to take longer to affect the player, but I don't know how to do it.
I've read about java Mixins to change the default game classes, but I don't have enough knowledge of the Minecraft code base to know what to tweak.
Thanks in advance!
I found "FoodStats.java" that contains the code of how the food level is decreased, is any way of changing that function?
you can use /attribute