AppliedEnergistics / Applied-Energistics-2

A Minecraft Mod about Matter, Energy and using them to conquer the world..
https://appliedenergistics.github.io/
Other
1.39k stars 621 forks source link

Spatial Anchor's chunk overlay floats fixed to crosshair (1.20.1) #7880

Open Derpowsky opened 1 month ago

Derpowsky commented 1 month ago

Describe the bug

When turning on the Spatial Anchor's chunk overlay to see which chunks are being loaded by it, the overlay float fixed to my crosshair, only distance changes properly.

How to reproduce the bug

All I did was just putting Spatial Anchor down, connect it to my network and turn on the overlay. I don't know if this is caused by another mod in Modpack (info about modpack is below)

Expected behavior

Spatial Anchor's overlay should be fixed to chunk borders instead of crosshair

Additional details

I'm playing on TNP Limitless 7 modpack.

Which minecraft version are you using?

1.20

On which mod loaders does it happen?

Forge

Crash log

https://pastebin.com/nge4kunr

Derpowsky commented 1 month ago

https://youtu.be/jc6yr3Eb5Fg <-- video of the glitch

Derpowsky commented 1 month ago

I've encountered the same issue on ATM9 modpack (1.20.1 as well), so that is excluding modpack fault.

YeahUniversal commented 3 weeks ago

Experiencing same issue on 1.20.1

Konclan commented 3 weeks ago

I tried to use @Mithi83's changes in #7955, and it seems to align with the world now, but the position and rotation still are not right. image

Mithi83 commented 3 weeks ago

Just for clarity: These fixes are for the main branch (1.21) and consist of two commits. What exactly did you try? Did you take both commits? Did you use 1.21 or did you try a backport? If so, did you use git to apply those commits or did you manually copy that code over and place the code in the right spot? Order (with respect to the translate operation for the position) matters when dealing with applying the rotation matrix.

Unfortunately I‘m out of town and have no access to a proper development setup right now.

Konclan commented 3 weeks ago

Just for clarity: These fixes are for the main branch (1.21) and consist of two commits.-

I copied the two lines from the commits into a local fork of the 1.20.1 branch and built the mod myself. I'm not too experienced with modding, but I was just curious to see if it would work since this bug has been annoying me since I can't see what parts of my base are and are not being loaded.