gigaherz / Ender-Rift

The Powered Bottomless Storage System
https://www.curseforge.com/minecraft/mc-mods/ender-rift
BSD 3-Clause "New" or "Revised" License
12 stars 7 forks source link

Help with moving contents to new world. #51

Closed Furious1964 closed 3 years ago

Furious1964 commented 3 years ago

Is there a way to move the contents of the Ender Rift to another save? My world is corrupted and I need to get the items.

gigaherz commented 3 years ago

if you copy the savefolder/data/enderRiftStorageManager.dat file you will get the data into the new save, but you will still have to use commands to spawn an orb with the right rift ID, since the id counters are stored in that same file. You can use NBT Explorer to figure out what ID to use.

Eg:

image

In this case rift id 1 would be what you want, and you could spawn it by doing:

/give @p enderrift:rift_orb{RiftId:1}
Furious1964 commented 3 years ago

Thank you, Sir. Will try this and hope that that's not corrupted too.

EDIT: Thanks, worked like a charm.