Migrate Parchment mapping data between Minecraft versions
versions/1.21.xThe data migration system allows you to migrate Parchment mapping data between different Minecraft versions. It uses the ParchmentJAM integration (which utilizes the JAMMER/JarAwareMapping tool) to match changed methods between versions and retain data integrity.
Migration is performed using the migrateData task within the parchment task group.
Workflow:
- Configure the target version (see Configuration).
- Run the
migrateDatatask. - Use the
promoteStagingToProductiontask to move the migrated data from the staging directory to the production directory (data/). - Run
sanitizeDataandvalidateDatato remove unwanted data fragments and ensure integrity.
# Example command line execution
./gradlew -Pmigration-targetVersion="1.19.4" migrateData