Mekanism

Mekanism

111M Downloads

Dynamical Tank flush fluids on Worldload

cyberpunkbln opened this issue ยท 9 comments

commented

Hello,

when i leave minecraft and load the world again, the Dynamic Tank flush all liquids (water for me), show the red sparkles for ready and the Pump pump again water in. I have leave my World with a direct view on the Dynamic Tank and with 100% water in it.

thx

Minecraft: 1.10.2
Mekanism: 1.10.2-9.1.1.290

commented

thx, i will try it :)

commented

I've found that various Mekanism components seem sensitive to lag from chunks loading and/or unloading. Try putting a chunkloader (from another mod) in the chunk that has the dynamic tank. See if that keeps the tank from emptying.

commented

Some info on this since it appears the issue is still open:
I have a 5x5x3 dynamic tank (showing volume 75) I am using to hold Immersive Engineering biodiesel. It has emptied itself several times. It seems to happen when I connect to the server, but I have not tested this extensively. The last time it did, it showed 528000mB of fluid. I turned to harvest a couple nearby ender lilies. When I turned back, the tank had no fluid in it, though there was still some fluid rendered. I am running Mekanism 9.2.0 on Forge 12.18.2.2124 for Minecraft 1.10.2. The server is on a separate machine from the one I use to play Minecraft.

Edit: the tank is in a single chunkloaded chunk

commented

I've done some more testing and found a way to replicate the issue. Any change to a block adjacent to the tank multiblock (place / break blocks, crops growing, EnderIO pipe changing shape, etc) causes the tank to reset the fluid level to zero.

commented

I've seen this and the actual reason for it. It's not that the tank is emptying, rather that it is re-assembling every time it's loaded. i noticed the pink particles that show when the structure is complete show when i logged in facing the structure.

Mekanism-1.10.2-9.2.1.295

commented

This issue still persists. I have a 3x3x10 Dynamic tank for liquid ethylene that loses it's multiblock status and re-forms itself every time I load the save, which causes the loss of all the liquid.

commented

Perhaps the data could be offloaded somewhere until all blocks participating in the structure are removed, resulting in a function similar to how tinker's construct smelteries can retain their fluid when broken and rebuilt. that way, losing and rebuilding its multiblock on load wouldn't cause flushing

commented

Though that would probably require having a block akin to the smeltery controller, which when removed would delete the stored data, unless you wanted to fire an event to check if the structure was completely removed every time one of the dynamic blocks is broken.

commented

This should be fixed in 1.11 builds. Not sure why it was an issue in 1.10.