Started by
LDGamingMC
on
Topic category: Help with Minecraft modding (Java Edition)
Hello everyone I am currently working on a Zombie Apocalypse mod and I need help with a custom thirst bar.
I've tried a couple to things to accomplish this but nothing has worked.
If any of you guys have any ideas, comment and that would be greatly appreciated.
Use several overlays and a global player-specific variable to accomplish this. Basically, make it so the global variable changes (going down to show the level of thirst), and have a procedure running every tick to change the overlay (which will be several images of different layers of the thirst bar) to one corresponding to the level of the thirst variable.