Create: Astral

Create: Astral

1M Downloads

[Bug]: Foundry does not sync contents to client when modified by AE2 storage bus or when controller interacted with

ChiefArug opened this issue ยท 3 comments

commented

Bug Description

I have a storage bus attached to a foundry drain, which works as expected and i can access all my metals in my foundry from my AE2 system. However if I add or remove metals using the AE2 system the foundry does not visually update, even when I open the GUI. Unloading then loading the chunks (IE by visiting the moon) updates the content. Melting an item also updates it, as well as reforming the structure by breaking and placing a non-controller block in it.

How to Reproduce?

Play on a server (I have not tested this in singleplayer, it may or may not happen there)
Build a foundry and put some a bucket of some metal in it.
Attach a storage bus to a drain on the foundry, and connect it to an AE2 network.
Using the AE2 network, modify the amount of fluid (IE remove it using a terminal)
Notice that the foundry has not updated its contents.

Expected Behavior

No response

Version

2.1.2

Logs or additional context

I expect this could be partially resolved by using KubeJS to send a contents updated packet when the foundry controller is interacted with, by calling this method:
https://github.com/Alpha-s-Stuff/TinkersConstruct/blob/e7b970031217af74cebe912e9965200449ab9d68/src/main/java/slimeknights/tconstruct/smeltery/block/entity/tank/SmelteryTank.java#L46-L52

Code of Conduct

  • I have searched the issue tracker and confirmed that the issue has not been reported
  • I have checked the FAQ (if one is present) and my issue is not listed
  • I have verified that I am using the latest version of the modpack
  • I have verified that I have followed the required steps to set up the modpack
commented

Actually I wonder if this a distance thing, not that I was using automation. Happened to a friend too while he was afk and i was filling the foundry.

commented

It is distance based and happens in singleplayer too

commented

Solved by my PR that was merged.