You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Snapshot restore does not support entities (or biomes) #1749
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
...backup worlds
... ..... days later......
... woooh!, I think I need to restore this from backup....
...SNAP! Itemframes and pictures are not there.... bummer....
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....
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.
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?
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)
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.
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?)
changed the title [-]Itemframes are not restored from backup, yet they should be[/-][+]Snapshot restore does not support entities (or biomes)[/+]on May 22, 2021
Is this still wanted? I’d like to try working on it if nobody else is. I do see its been a while since its been commented on. Just wondering, should restore remove existing entities in the area first, or only add missing ones?
It should probably just match the behavior of copy/paste to start, which I believe is to only add and not remove. The other behavior can be added as a flag if needed later.
Activity
octylFractal commentedon May 19, 2021
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.
wizjany commentedon May 19, 2021
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?
octylFractal commentedon May 19, 2021
oh, yea, guess I didn't read it closely enough. Not using
-ethen?MrKiller01 commentedon May 19, 2021
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)
octylFractal commentedon May 19, 2021
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.
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.
MrKiller01 commentedon May 20, 2021
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?)
[-]Itemframes are not restored from backup, yet they should be[/-][+]Snapshot restore does not support entities (or biomes)[/+]Mikeym41 commentedon Oct 18, 2026
Is this still wanted? I’d like to try working on it if nobody else is. I do see its been a while since its been commented on. Just wondering, should restore remove existing entities in the area first, or only add missing ones?
octylFractal commentedon Oct 18, 2026
It should probably just match the behavior of copy/paste to start, which I believe is to only add and not remove. The other behavior can be added as a flag if needed later.