Block randomly stops ticking?

Started by temutsaj on

Topic category: Help with modding (Java Edition)

Last seen on 16:01, 16. Jun 2024
Joined Jul 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Block randomly stops ticking?

I have machine blocks that run fine but randomly they turn off some time after when the GUI is closed, then when I open the GUI it starts ticking again like normal and resumes its smelting process.
I don't have any procedures under "when GUI is open tick" whatsoever, its the blocks nbt number tags that seem to just randomly stop.
If anyone has any suggestions I appreciate it.

Last seen on 16:01, 16. Jun 2024
Joined Jul 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I wasn't going too far it…
Fri, 05/24/2024 - 22:54

I wasn't going too far it was nearby, I think the issue was that I had the recipe trigger in the "when slots contents change" of the GUI slot, and seemed like the GUI stops existing when not looked at for some time. I'm not exactly sure but I believe I resolved this by calling for that same procedure in the update tick with a condition instead.