Rotating schematics creates messed up results
MineFact opened this issue ยท 2 comments
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):
FastAsyncWorldEdit (messed up):
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
- Load a schematic with
//schem load streetlamp
(Get sample streetlamp schematic here) - Rotate the schematic with
//rotate 45
- 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
- I have included a Fawe debugpaste.
- I am using the newest build from https://ci.athion.net/job/FastAsyncWorldEdit/ and the issue still persists.
Anything else?
No response
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