Data Migration 1.18 and later - LootrMinecraft/Lootr GitHub Wiki
As of Lootr 0.1.15.49 for 1.18 and now 0.1.12.39 for 1.16.5, the way data is stored has changed significantly.
While this has been tested and has been found to be reliable, there are potentially edge-case issues that haven't been properly explored.
In light of this, the first time you load a world (either through single-player or as a server) with 0.1.15.49, a back-up of all Lootr-*.dat files in the data
folder is created.
You may wish to keep a copy of the latest.log
file from first time you launched a world for reference.
Regression
If you suffer issues with Lootr after updating, you can regress to the previous version of 0.1.14.48 found on CurseForge.
Please be aware that regression will revert any chests that have been opened since the update.
In order to do this, please perform the following steps before the game is launched:
- Identify the backup file. This will be a
.zip
file starting withLootrMigrationBackup
, followed by the date and time that the backup occurred. This is found in thedata
folder. For single-player worlds, this issaves/World Name/data
. For servers, this isworld/data
. - Identify and remove the
data/lootr
folder. You may wish to simply move this folder into another directory. - Unzip the backup into the
data
directory, or open the zip and copy the files out into thedata
directory. (See image in the next section.) - Remove the version of Lootr from the
mods
folder and replace it with the0.1.14.48
version found on CurseForge.
After this point, please open an issue or contact me on Discord to inform me of what went wrong.
Process
This process moves all Lootr-*.dat
files out of the data
directory.
This means that anyone running Minecraft via shared hosting or through a web-based panel that only displays a certain number of results will not be prevented from interacting with the data
folder should the need arise. Once migration has occurred, the data
folder will look something like this:
If at any point in time you need to regress, please follow the steps in the "Regression" section. For reference, the original data structure would look something like this: