Started by
temutsaj
on
Topic category: Help with Minecraft modding (Java Edition)
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.
This may happen if you go too far from the block. Could that be the case?
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.