WorldEdit

WorldEdit

43M Downloads

Snapshot restore does not support entities (or biomes)

MrKiller01 opened this issue ยท 6 comments

commented

WorldEdit Version

7.2.5

Platform Version

This server is running CraftBukkit version 3078-Spigot-9fb885e-cc21bae (MC: 1.16.5) (Implementing API version 1.16.5-R0.1-SNAPSHOT)

Bug Description

Restoring from backup: Item frames are not restored. Plain and simple.... not even empty ones

Expected Behavior

When backup (sbackup) makes backupfiles of the worlds, then restoring parts of it with the help of Worldedit should restore everything in the backup. If this means 'Entities inclusive', then I wish it.

Reproduction Steps

  1. ...backup worlds
  2. ... ..... days later......
  3. ... woooh!, I think I need to restore this from backup....
  4. ...SNAP! Itemframes and pictures are not there.... bummer....
  5. I had in this Amigos world large walls full with item frames and they were filled up with maps of the area, now it is blank! ):

Anything Else?

Add any additional context you can provide below.
I hope this catches your eyes and that it is not too difficult to solve....

Many many thanks for your efforts...

commented

This is actually a feature request, as we don't have any code to read entities out of the chunk. We're not accidentally filtering here, we would need to add a significant new portion of code to load these from backups.

I'm not against adding it, but this is definitely something that would be helpful for others to PR.

commented

ehm, the title doesn't match the description. copy/pasting item frames works fine (as long as you include entities). the description doesn't say anything about restore?

commented

oh, yea, guess I didn't read it closely enough. Not using -e then?

commented

ehm guys, how am I to proceed with this then? is there an option that I need to add if I copy?
and does this also goes when backing up and restoring?
(I thought it was kinda related, so I dug a bit deeper into it with the copy/paste thing)

commented

To copy entities, you need to use //copy -e, and to paste them, //paste -e.

Snapshots do not work with entities, as I stated previously.

how am I to proceed with this then?

If your bug report only concerns copying and pasting, then I imagine this specific problem is solved, and the ticket should be closed. If you're also interested in having snapshots load entities, then you should edit the original report to exclude details about clipboards (copy and paste), and I'll leave it as a feature request.

commented

Changed the original post, and I hope this will be adressed....

Again, many many thanks.....
(Ps. how am I gonna restore item frames from previous backup?, is there a special option that I must add to the \restore action?)