User Tools

Site Tools


tutorial:updating_yarn

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
tutorial:updating_yarn [2020/04/09 05:29] liachtutorial:updating_yarn [2020/11/11 16:57] modmuss50
Line 1: Line 1:
 ====== Updating Yarn and intermediary to a new Minecraft version ====== ====== Updating Yarn and intermediary to a new Minecraft version ======
  
-Last updated 2020-04-09 by liach.+Last updated 2020-05-20 by 2Xsaiko.
  
 ===== Definitions/Notes ===== ===== Definitions/Notes =====
Line 26: Line 26:
  
   - Enter the current Yarn version at **A**.   - Enter the current Yarn version at **A**.
-  - Run ''%%gradlew mergeJars%%''. This will create **A**-merged.jar and .gradle/minecraft/libraries. You will need these for Matcher.+  - Run ''%%gradlew mergeJars downloadMcLibs%%''. This will create **A**-merged.jar and .gradle/minecraft/libraries. You will need these for Matcher.
   - Edit build.gradle to point to the **B** Minecraft version.   - Edit build.gradle to point to the **B** Minecraft version.
-  - Run ''%%gradlew mergeJars%%'' again. This will create **B**-merged.jar and grab new libraries (if there is any)+  - Run ''%%gradlew mergeJars downloadMcLibs%%'' again. This will create **B**-merged.jar and grab new libraries (if there is any)
   - Launch Matcher, with -Xmx6G at the very least and -Xmx8G recommended, depending on your amount of RAM.   - Launch Matcher, with -Xmx6G at the very least and -Xmx8G recommended, depending on your amount of RAM.
   - Create a new project and configure its **inputs** (the -merged JARs) and **class paths** (the libraries).   - Create a new project and configure its **inputs** (the -merged JARs) and **class paths** (the libraries).
Line 39: Line 39:
  
 === Notes === === Notes ===
-You can grab a ''%%mergedv2%%'' distribution of yarn from the latest build for the **A** version from https://jenkins.modmuss50.me/job/FabricMC/job/yarn/ and then import these mappings (official -> namedfor easy understanding of the functionalities of old codewhich enables easier matching.+You can use mojang's offical mappings, or offical -> named yarn mappings as an input for side (and B if using mojang mappings) to aid with the matching process. To generate these yarn mappings clone yarnand run `gradlew.bat exportMappingsOfficial`
  
 Matching is a process that cannot be easily described. Essentially, there are three states: Matching is a process that cannot be easily described. Essentially, there are three states:
Line 70: Line 70:
  
 ==== Updating Yarn ==== ==== Updating Yarn ====
-Note: after the intermediary update, this step is no longer necessary, but you still need to remove outdated mappings. 
  
   - Open the Enigma mappings from ''mappings_official'', with **Type: Names**, **Target: A (left)** and **"Replace" checked**.   - Open the Enigma mappings from ''mappings_official'', with **Type: Names**, **Target: A (left)** and **"Replace" checked**.
tutorial/updating_yarn.txt · Last modified: 2022/08/02 10:03 by 127.0.0.1