FastAsyncWorldEdit

FastAsyncWorldEdit

152k Downloads

Rotating schematics creates messed up results

MineFact opened this issue ยท 2 comments

commented

Server Implementation

Paper

Server Version

1.20.5/6

Describe the bug

Whenever you rotate schematics with a different angle than the standard 90, 180, 270, 360 degrees, the result is completely messed creating weird shapes.
I know that WorldEdit doesn't recommend to use other angles than 90 but with normal WorldEdit rotation works mostly fine with just a few missing blocks at certain angles here and there. FastAsyncWorldEdit completely messes up the shapes though creating a result that is impossible to work with.

Here I pasted a sample lantern schematic so you can better see the issues that appear with FastAsyncWorldEdit at anything other than 90 degrees even 45.
With WorldEdit everything works as expected no matter which version you choose from 1.12 till latest version.

WorldEdit Result (everything fine):
2024-05-17_15 25 23

FastAsyncWorldEdit (messed up):
2024-05-17_15 34 58

Here you can see that any angle other than the 90s create unexpected results. Sometimes the lamp stand appears twice, sometimes the entire lamp is cut off. Its also weird that there doesn't seem to be a clear pattern in this behavior.
The lamp was copied at the bottom of the lamp stand so the rotation should be alright as visible in the WorldEdit screenshot.

To Reproduce

  1. Load a schematic with //schem load streetlamp (Get sample streetlamp schematic here)
  2. Rotate the schematic with //rotate 45
  3. Paste the schematic with //paste

Expected behaviour

When pasting the schematic the result should look similar to WorldEdit and not messed up.

Screenshots / Videos

No response

Error log (if applicable)

No response

Fawe Debugpaste

https://athion.net/ISPaster/paste/view/8e010b08548142cd9e61cf3a4873d7d8

Fawe Version

FastAsyncWorldEdit version 2.10.1-SNAPSHOT-776;3dc949e

Checklist

Anything else?

No response

commented

It's not that easy for me to reproduce, but I kinda get it

I had to rotate some obscure radii quite often, which resulted in sometimes the sea lantern not being pasted:

[17:04:32 INFO]: PierreV2 issued server command: //schem load streetlamp.schem
[17:04:37 INFO]: PierreV2 issued server command: //paste
[17:04:43 INFO]: PierreV2 issued server command: //rotate 45
[17:04:44 INFO]: PierreV2 issued server command: //paste
[17:04:48 INFO]: PierreV2 issued server command: //rotate 90
[17:04:50 INFO]: PierreV2 issued server command: //paste
[17:04:58 INFO]: PierreV2 issued server command: //rotate 87
[17:04:59 INFO]: PierreV2 issued server command: //paste
[17:05:08 INFO]: PierreV2 issued server command: //rotate 20
[17:05:09 INFO]: PierreV2 issued server command: //paste
commented

Tested with FAWE-Bukkit-2.11.2-SNAPSHOT-895 and the result is still not optimal.
image

Created using the above sample schematic.
Always rotated by 20, 25, 25, 20 degrees for a quarter of a circle.