FastAsyncWorldEdit

FastAsyncWorldEdit

152k Downloads

Schematics dont remember their positions

Teslicek opened this issue ยท 8 comments

commented

Server Implementation

Paper

Server Version

1.21

Describe the bug

When you load a schematic on 1.21 and then paste it using //paste -o, the schematic forgets its position and gets pasted to 0, 0, 0.

To Reproduce

  1. Launch the server on 1.21
  2. Select & copy an area -> //copy
  3. Save the area as a schematic -> //schem save
  4. Load the schematic using -> //schem load
  5. Type //paste -o -> it will get pasted at 0, 0, 0

Expected behaviour

Schematics should remember their positions, just like clipboard.

Screenshots / Videos

2024-07-29_13-01-50.mp4

Error log (if applicable)

No response

Fawe Debugpaste

Can give in Discord DMs

Fawe Version

2.11.1-SNAPSHOT-865;638344d

Checklist

Anything else?

No response

commented

Does //place -o work? (I think pasting without transform and masks should use the place logic internally)

commented

No, not even //place -o works. It still pastes it at 0, 0, 0.

commented

Works for me without any issues, can you provide the Debugpaste please.

Forget that, it does not work

commented

For a temporary workaround, use //schem save <filename> fast.2 for saving the schematic. Loading and pasting should work with that then.

commented

Origin is never read from the schematic it looks like. Probably also worth writing the FAWE version into the schematic if the WorldEdit version is not already specifically the FAWE version

commented

Origin is never read from the schematic it looks like. Probably also worth writing the FAWE version into the schematic if the WorldEdit version is not already specifically the FAWE version

Tried yesterday, but couldn't get the math working in my head.

The version is defined implicitly, as the platform is prefixed with IntellectualSites.

commented

Origin = clipboard min position and offset = offset from the origin where the schematic was taken iirc. Should be enough just to track through where the WEOffsetXYZ from V2 goes I suppose

commented

Origin = clipboard min position and offset = offset from the origin where the schematic was taken iirc. Should be enough just to track through where the WEOffsetXYZ from V2 goes I suppose

Yeah, I know - I did exactly that. The paste position was seemingly right, but the offset inside the clipboard was not working I would say - at least no blocks were pasted