Applied Energistics 2

Applied Energistics 2

172M Downloads

sky stone tank empty on world reload

jstansel opened this issue ยท 2 comments

commented

Describe the bug

When a sky stone tank is placed in the world and water is stored in it and the world is saved and reloaded the tank is empty.

How to reproduce the bug

  1. place a sky stone tank
  2. put water in the tank
  3. save and quit to title
  4. load the world again
  5. the tank is empty

Expected behavior

I expect the water to remain in the tank. I know that the fluid is not kept when the tank is broken but I expected it to remain in a placed tank when the world is saved and reloaded.

Additional details

ATM10 to the sky modpack - version 1.1.2
Single player

Update: I went first to the modpack issues page and was directed to their discord and when I reported the issue there I was told that it was likely not theirs and to report it here.

Which minecraft version are you using?

1.21

On which mod loaders does it happen?

NeoForge

Crash log

https://mclo.gs/CDkAqb7

commented

I reproduced the issue in a test instance using only AE2 following the same steps as above.

crash-2025-08-23_14.50.13-client.txt

commented

I've found the problem to be a mismatch in SkyStoneBlockEntity. The saveAdditional uses "content" to save the fluid tank content, but loadTag reads it back from "tank". Changing the latter to "content" as well fixes the issue. But you could argue that both should be "tank" as well. The fix is trivial, but which way to fix it is not. Opting for "content" would keep existing saves functional. Any preferences from the devs here?

Git blame suggests it was broken since the 1.20.5 port.