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 [2019/11/16 22:36] fudgetutorial:migratemappings [2019/11/16 22:39] fudge
Line 6: Line 6:
  
   - 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?&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.   
-  - 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 source will appear in ''remappedSrc''. Verify your code was not nuked and copy it over.   - Your migrated source will appear in ''remappedSrc''. Verify your code was not nuked and copy it over.
   - 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?&version=19w46b|this]] site.
Line 12: Line 12:
  
 === Additional customization ===  === Additional customization === 
-  * Specify from where to take your Java files with ''----input path/to/source''. Default: ''src/main/java''+  * Specify from where to take your Java files with ''%%--%%input path/to/source''. Default: ''src/main/java''
-  * Specify where to output the remapped source with ''----output path/to/output''. Default: 'remappedSrc'+  * Specify where to output the remapped source with ''%%--%%output path/to/output''. Default: 'remappedSrc'
-  * Specify a custom place to retrieve the mappings from with ''----mappings some_group:some_artifact:some_version:some_qualifier''. Default: ''net.fabricmc:yarn:<version-you-inputted>:v2''+  * Specify a custom place to retrieve the mappings from with ''%%--%%mappings some_group:some_artifact:some_version:some_qualifier''. Default: ''net.fabricmc:yarn:<version-you-inputted>:v2''
  
 ====== Loom 0.2.5 and below ====== ====== Loom 0.2.5 and below ======
tutorial/migratemappings.txt · Last modified: 2022/12/22 16:23 by basil4088