GUI progress arrow not working

Started by orro on

Topic category: Help with modding (Java Edition)

Last seen on 18:02, 28. Jan 2024
Joined Dec 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
GUI progress arrow not working

So i followed a tutorial on how to make a progress arrow like the one in a furnace, but for some reason i can't figure out it doesn't work.

Here's procedure that determines the amount of time it takes to complete.

updatetick

And the problem is that it only ever displays the first stage, never any other, the timer itself works, meaning the integer "arrowcounter" should be higher than zero, thus making the first stage false, yet it still displays.

this the condition for displaying the first stage

Here's the condition for the second stage as well: