User Tools

Site Tools


tutorial:migratemappings

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
tutorial:migratemappings [2020/02/22 15:31] – Some structural cleanup, mention that Mixins are not remapped jamieswhiteshirttutorial:migratemappings [2020/07/29 18:28] florens
Line 9: Line 9:
 Say you want to migrate from 1.14.4 to 19w46b.    Say you want to migrate from 1.14.4 to 19w46b.   
  
-  - Go [[https://modmuss50.me/fabric.html?&version=19w46b|here]], select ''19w46b'', and copy the ''yarn_mappings'' value, for example ''19w46b+build.1'' DO NOT modify your gradle.properties or build.gradle yet.   +  - Go [[https://modmuss50.me/fabric.html|here]], select the version to migrate to, and copy the ''yarn_mappings'' value, for example ''19w46b+build.1'' DO NOT modify your gradle.properties or build.gradle yet.   
   - In the root of your gradle project, run ''gradlew migrateMappings %%--%%mappings %%"%%19w46b+build.1%%"%%''   - In the root of your gradle project, run ''gradlew migrateMappings %%--%%mappings %%"%%19w46b+build.1%%"%%''
   - Your migrated sources will appear in ''remappedSrc''. Verify that the migration produced valid migrated code.   - Your migrated sources will appear in ''remappedSrc''. Verify that the migration produced valid migrated code.
   - Copy the sources from ''remappedSrc'' to the original folder. Keep the original sources backed up just in case.   - Copy the sources from ''remappedSrc'' to the original folder. Keep the original sources backed up just in case.
-  - Update your gradle.properties file according to the instructions in [[https://modmuss50.me/fabric.html?&version=19w46b|this]] site.+  - Update your gradle.properties file according to the instructions in [[https://modmuss50.me/fabric.html|this]] site.
   - Refresh the Gradle project in your IDE.   - Refresh the Gradle project in your IDE.
   - Check and update any Mixin targets that may be outdated.   - Check and update any Mixin targets that may be outdated.
tutorial/migratemappings.txt · Last modified: 2022/12/22 16:23 by basil4088