true and false return doesn't work for my custom mana bar

Started by silverman1983 on

Topic category: Troubleshooting, bugs, and solutions

Joined Aug 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
true and false return doesn't work for my custom mana bar

Alright. So, I'm working on a custom mana bar overlay. I'm making it so that whenever a NBT custom number tag is at a certain value, the images on the overlay will appear or disappear depending on that value. So, I'm using true/false return values. It's not really working.

 

Here's the code of the checker procedure

the code

 

Notice the message that sends working.

 

So, I get the working message, but the value doesn't return because you can't see the overlay on the screen. 

the screen

I'm not really sure what to do about this, so please help if you can.

Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I'm not the most qualified…
Sun, 08/18/2024 - 18:28

I'm not the most qualified for this but since nobody else has responded I'll try my best

Clearly the number is 16 if it's showing the message, but what's supposed to be happening? Is it a graphic that would be a part of the bar isn't showing up? If you can provide a little more context I'll try to help

Joined Aug 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Alright. So, I'm making a…
Mon, 08/19/2024 - 18:11

Alright. So, I'm making a overlay wherin i have layered different fullnesses of the mana bar on eachother. Depending on the nbt number tag, it'll either choose false or true on it appearing. I'm only trying it with one image right now to make sure it works. 

should appear returning true for this