Some way of obtaining which pipe connections are enabled/disabled on a crafting machine
Posted: Fri Mar 06, 2026 3:59 am
As in title, I'd like to know which pipe connections are enabled and which are disabled when looking at a LuaCraftingMachine. As for where I can access that function, or what it's called, or what kind of data it returns I have no preference. From my completely out of the picture and not knowing perspective it would seem easier to return a list of enabled PipeConnections from a LuaFluidBox when polled, or add a flag to PipeConnection to indicate status.
I would like to use this to detect which connections are enabled so that I can connect to them with my mod parallel piping. Currently theres no way to know, not even if the entity has them always on, so I have to just guess that they're enabled and draw the connection anyway. Unless I'm being silly and there's already a method of detecting if they're on, in which case I apologize for taking time out of your day to respond to me and I'll write up a documentation improvement request anyway.
I would like to use this to detect which connections are enabled so that I can connect to them with my mod parallel piping. Currently theres no way to know, not even if the entity has them always on, so I have to just guess that they're enabled and draw the connection anyway. Unless I'm being silly and there's already a method of detecting if they're on, in which case I apologize for taking time out of your day to respond to me and I'll write up a documentation improvement request anyway.