Started by
Plonx
on
Topic category: Help with Minecraft modding (Java Edition)
So, I have a dash ability and a cooldown for it, however, I want a overlay/GUI to show the cooldown of the dash, I want it underneath the croshair, please help!
You'd make an overlay and make sure it is set it to "Ingame" and have a conditional display like the first image attached, and the use the code in the second image in addition to whatever code you have to actually use the dash to turn on and off the overlay.
wait, if its alrigt, could you make it a little more descritive, i dont quite understand.
It's a little hard to describe with words, so I made a workspace with basically everything in it. Just run the client, make a new world and see if this is what you want, and if so use the code for your mod. https://drive.google.com/drive/folders/1zbY9zwnkEWhdyuw9dsW0sjAs92VhiN4J?usp=sharing