Applied Energistics 2

Applied Energistics 2

156M Downloads

AE2 components in jigsaw structures do not seem to rotate with the structure at world gen

Raidobw2 opened this issue ยท 2 comments

commented

Describe the bug

Hello, I've encountered an issue while testing jigsaw structures in the world.

If a part of a jigsaw structure rotates at world generation and has AE2 blocks in it that store side information, those components will not rotate along with the jigsaw structure. I've tested this twice with the same jigsaw structure (a custom one).

In these first images there is an export bus that had been placed towards the chest in the original structure and a terminal that should face the front. The red arrow shows the original placement before saving the structure blocks, and the blue arrow their current facing at world generation:
image

In this second image, similar thing with the ME Drive. The red arrow shows the original placement before saving the structure blocks, and the blue arrow their current facing:
image

Other components I've tested like up/down sides or spatial storage work fine in world generation!
image

How to reproduce the bug

  1. Make a new structure block of 48x48x48
  2. Place some AE2 cable bus in it along with other components that store side information such as terminals
  3. Save the structure, turn it into a jigsaw structure (requires a bunch more JSON files)
  4. Make the jigsaw structure generate at world generation using a pivot (a one-block jigsaw that spawns the actual structure)
  5. Observe blocks rotate

Expected behavior

The blocks that store side information should have rotated with the jigsaw system

Additional details

This jigsaw structure was for the development of a modpack, but if you would like a small datapack/world that can reproduce this consistently, I can give you one, let me know.

NBT data of a cable bus that contains a terminal in the same block, the one shown in the first pictures:
image

The 87th state of the block palette which has that NBT data:
image

Here's the modlist I've used:

appliedenergistics2-forge-12.9.5.jar
architectury-6.5.82-forge.jar
ftb-chunks-forge-1902.3.21-build.266.jar
ftb-essentials-forge-1902.3.1-build.75.jar
ftb-library-forge-1902.3.18-build.208.jar
ftb-pack-companion-2.0.3-build.8+mc1.19.2.jar
ftb-quests-forge-1902.4.15-build.228.jar
ftb-team-dimensions-1.0.1-build.3.jar
ftb-teams-forge-1902.2.13-build.100.jar
ftb-ultimine-forge-1902.4.0-build.77.jar
item-filters-forge-1902.2.9-build.46.jar
jei-1.19.2-forge-11.6.0.1015.jar

Versions:
AE2 12.9.5 for Minecraft 1.19.2
Forge 43.2.14 for Minecraft 1.19.2
Java 17
Windows 10 Home

I'm guessing this will lie in the differences between block properties and NBT data, possibly jigsaw only uses the former to perform block rotations. Given these differences I'm not expecting this to be fixable, we have used other solutions for the modpack at the moment.
Thanks for any time given for this issue!

Which minecraft version are you using?

1.19

On which mod loaders does it happen?

Forge

Crash log

N/A

commented

Jigsaw rotation was never implemented for AE2 since I don't think anyone ever thought about using them that way.

Since we now are a lot more compatible with structures in general, I might actually fix this, though.

commented

p.s.: Don't get your hopes up however, since this might actually be unfixable without a lot of hooks and work.