Started by
TheRedstoneDroid
on
Topic category: Advanced modding
Like everyone knows in every CoD theres the ammo hud that tells you how much ammo you got, so if there is any way how the hecking heck can I do it in Mcreator?
Topic category: Advanced modding
Like everyone knows in every CoD theres the ammo hud that tells you how much ammo you got, so if there is any way how the hecking heck can I do it in Mcreator?
You need to make a overlay mod element, and then you'd probably need to set in procedures and then use NBT tags or global variables in the overlay to show how much ammo you have.
Well here's the thing.... how do I do that?
Look at this tutorial: https://www.youtube.com/watch?v=nDoclprdfV0&t=91s
1. Create your overlay in any paint software (I recommend paint.net)
2. Then create an entity NBT tag that represents the ammo count.
3. Store the NBT tag to a GLOBAL_SESSION variable (Idk if this step matters but I tried NBT tags connected to overlays, and they glitched out, but global variables seemed to work fine.)
4. Create an overlay and have the ammo bar fill for the nbt values. (Watch the video it is easier to understand and only 3 minutes long.)