tutorial:migratemappings
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| tutorial:migratemappings [2025/10/31 18:21] – Rewrite to better clarify how to handle Mojang Mappings cassiancc | tutorial:migratemappings [2025/10/31 21:04] (current) – typo cassiancc | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | :!: //A more thorough documentation of the process of migrating mappings, along with better, specific tooling is currently planned for the near future in order to help the transition into the non-obfuscated MC versions. This page will likely redirect to the proper documentation once it is in a satisfying state.// | ||
| + | |||
| ====== Migrating to Yarn or Mojang Mappings in a Java codebase ====== | ====== Migrating to Yarn or Mojang Mappings in a Java codebase ====== | ||
| - | Loom allows semi-automatic updating of the mappings used in a Java codebase. This can be a useful tool for users wishing to keep their codebase up-to-date with the new changes in Yarn, or for users wishing to change to different mappings, including Mojang' | + | Loom allows semi-automatic updating of the mappings used in a Java codebase. This can be a useful tool for users wishing to keep their codebase up-to-date with the new changes in Yarn, or for users wishing to change to different mappings, including Mojang' |
| - | Loom does not support migrating | + | Loom does not support migrating |
| **Note:** This automated process does not yet handle Mixins or reflection. Updated tooling is currently in the works that will fix these errors. This tooling will be available before the mandatory switch to Mojang names in a future version of Minecraft. | **Note:** This automated process does not yet handle Mixins or reflection. Updated tooling is currently in the works that will fix these errors. This tooling will be available before the mandatory switch to Mojang names in a future version of Minecraft. | ||
| Line 12: | Line 14: | ||
| These instructions cover migration from Yarn to Mojang Mappings. | These instructions cover migration from Yarn to Mojang Mappings. | ||
| - | - You'll need a command to migrate your mappings to Moajng | + | - You'll need a command to migrate your mappings to Mojang |
| - Run the command in the root of your Gradle project, either through the terminal, or by adding it as a run configuration in IntelliJ Idea. | - Run the command in the root of your Gradle project, either through the terminal, or by adding it as a run configuration in IntelliJ Idea. | ||
| - Your migrated sources will appear in '' | - Your migrated sources will appear in '' | ||
| Line 39: | Line 41: | ||
| * Specify where to output the remapped source with '' | * Specify where to output the remapped source with '' | ||
| * Specify a custom place to retrieve the mappings from with '' | * Specify a custom place to retrieve the mappings from with '' | ||
| - | |||
| - | For more information, | ||
| === Reporting issues === | === Reporting issues === | ||
| Loom uses a fork of [[https:// | Loom uses a fork of [[https:// | ||
tutorial/migratemappings.1761934869.txt.gz · Last modified: 2025/10/31 18:21 by cassiancc