I need help with my mana bar

Started by Squidexm on

Topic category: Help with modding (Java Edition)

Last seen on 03:37, 6. Jan 2024
Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I need help with my mana bar

Hello i need help i wanna make a mana bar with a  stripe down left and (an number how many mana i have) but i have made the number already so i only need the texture i have 5  100% bar  75% bar 50% bar 25% bar and 0% bar so i only need to know how i made the bar go down and how to put it in

Last seen on 04:51, 10. Feb 2024
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You need to do some math,…
Fri, 11/19/2021 - 15:41

You need to do some math, overlay.

Like:

  If <current mana>/<max mana>*100 = 25

   return (light blue): true

  retun (light blue): false

Last seen on 04:51, 10. Feb 2024
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
That's the condition  
Fri, 11/19/2021 - 15:42

That's the condition