Applied Energistics 2

Applied Energistics 2

156M Downloads

spatial storage not working in some worlds

Mari023 opened this issue ยท 2 comments

commented

Describe the bug
The Spacial IO Port does nothing when activated with redstone
There is no output in the log even when debug mode is activated

To Reproduce
build a spatial storage setup (like in the screenshot below)
put a Spatial Storage Cell in the Spatial IO Port
activate the Spacial IO Port with redstone (e.g. press a button)

Expected behavior
The spatial IO port should swap the contents of the Spatial Storage Cell with the blocks in thew spatial pylon

Additional context
this only happens in some worlds.
it does NOT happen in a newly generated world

it seems to be linked to a broken/missing spatial dimension.
/ae2 spatial tp 1 gives an error rather than teleporting to plot 1 / responding there is no plot 1

the one thing all non-working worlds I tested have in common is that at some point, I removed an (unrelated) mod.

2021-04-10_13 15 57
2021-04-10_13 16 13

Environment
debug crashlog

commented

This is a Vanilla bug.

If you remove a mod that has a dimension, depending on the order in which dimensions were initially added, all dimensions past that mod's dimensions are also removed from your world.

There's not a lot we can do here, other than trying to fix this Vanilla issue ourselves. Forge does attempt to fix it from occurring again, but will only restore Vanilla dimensions in saves that are already borked (since the bug can also lead to NETHER/END disappearing).

If you're adventurous, this can be fixed by hand using an NBT editor pretty easily. What you'd need to do is add back the AE2 dimension to your level.dat, since the world-save files themselves are still present.

The highlighted area in the following screenshot is what is missing in your level.dat. If you restore that, the spatial dimension will return.

image

p.s.: This is the Vanilla bug I am refering to, since we're using datapack dimensions: https://bugs.mojang.com/browse/MC-187364

commented

On fabric you can install https://www.curseforge.com/minecraft/mc-mods/dimension-fix-some-forge-patches-ported to prevent this from happening again, but you'll still need to re-add the dimension yourself.