
World item importers and exporters don't work when proxy is attached to existing item interface in 1.12. Edit: Extends to item and energy interfaces, importers and exporters.
Icoza opened this issue ยท 14 comments
When attaching a proxy to an existing interface, most functionality seems to work now. The one issue I ran into was world item importers and exporters not working until you provide an update to the network by placing a cable or attaching another component in 1.12.
Integrated Proxy version: 1.12-1.0.8
Can be reproduced with a setup like this, then placing a proxy on the item interface and have it point to the chest. No items will be picked up or dropped into the world until you add a cable to the network.
Luckily in this case, the workaround is just to cause an update to the Dynamics network.
Edit: Workaround still seems to remain, but the issue happens whenever the proxy is placed on an item interface. Will update with images and better explanation before I go to sleep later. I can't appear to get the issue to happen with fluid interfaces and fluid components, but it's hard to tell.
2021-06-12.23-21-29.mp4
I think I'm getting closer to guessing the cause. It seems as though when a proxy is placed or broken on an interface of any kind, the Dynamics network doesn't get updated.
Yep, you can try it with IntegratedTerminals
Sorry for being late, I was doing my homework
That is with tunnels I believe and in 1.12. No worries, I still want to mess around with the item and energy interface because I think the energy network doesn't work even if you put the importer or exporter on the proxy. Got busy so I can't record any videos or test for another hour and a half or so. Take care of what you need to first though, homework is more important.
I mean you can use the terminal to see the item/fluid/energy content of the network, you can see when you change the target of the proxy block, the content in the terminal doesn't change
I couldn't think of how to describe it through text concisely so I got the recording software out.
Ahh, I'll have to try that and see if placing/breaking a proxy on an interface updates the amounts. It'll be a second though because something came up, sorry about that.
Would it be possible to call a Dynamics network updating when placing or destroying a proxy?
Sounds good, I'll do some more tests but in my layman's observations, updating the network with a cable seems to work but I haven't messed with it enough. ๐ข
Ugh, I was think of this sooooooooooooo complex, I even tried add a Mixin...
But in the end I added 3 lines of code to solve it...
I'm sorry to hear about that. Luckily it's only 3 lines of code in the end which means less stuff to break. I did run into one reproducible issue, but I think you'll just have to use the same code on block destruction. I'll post an issue for it.
Sorry to bother, but this issue is also reproducible in 1.16.