Sign in to follow this  
Shade

Need help (Modify Hunger/thirst) value

Recommended Posts

so i have little knowledge on how to acutally code but i was trying to just add /change some values on the server.jar

 

was trying to see if in the server.jar  -->under CreatureStatus

to find the thing for modifyHunger,modifyThirst and see if i could change it to like 10 times the hunger/thirst rate for trying

sadly nothing worked so far even tried out if i could change the value from a mod on the forum [BETA] Player attributes modifications method.insertBefore("if (this.statusHolder.isPlayer() && $1 > 0) {\nreturn this.hunger;\n}");

(the mod was kinda to disabled hunger but i wanted to give it a try)

 

so would be nice if someone had an advise for me  or maybe just what line and what values i need to change


 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this