FastAsyncWorldEdit

FastAsyncWorldEdit

152k Downloads

Entity positions saved incorrectly in structure schematics

senseiwells opened this issue ยท 0 comments

commented

Server Implementation

Paper

Server Version

1.20.5/6

Describe the bug

When saving a schematic with the Minecraft structure format the entity position is incorrect.

It seems when you are saving the entities you store their absolute position, they should instead be storing their relative position to the structure.

To Reproduce

  1. Run /tp 1000 100 1000 (go far from (0, 0))
  2. Create a box with any entity inside
  3. Select each corner of the box with the wand
  4. Run //copy -e
  5. Run //schem save entity structure
  6. Run //schem load entity.nbt
  7. Run //paste -e

See entity is not pasted where expected

Expected behaviour

For the entity to be saved at the correct position in the schematic.

Screenshots / Videos

Here is a structure containing 1 entity saved using fawe:

image

Compared to the same structure saved using a structure block:

image

Error log (if applicable)

No response

Fawe Debugpaste

https://athion.net/ISPaster/paste/view/00e083cc941e4a509bbe24d7ace80e45

Fawe Version

2.10.1-SNAPSHOT-802;4a5ff8e

Checklist

Anything else?

No response