Migrating Mappings
If you are planning on updating your mod to 26.1 or above, you will need to migrate from Yarn to Mojang Mappings.
There are two ways to accomplish this: you can either use the Loom Gradle Plugin, or the Ravel IntelliJ IDEA Plugin.
Loom offers a semi-automated migration of the mappings through the migrateMappings task, but does not support migrating code written in Kotlin.
Ravel is a plugin for IntelliJ IDEA that adds a GUI dialog for migration. Unlike Loom however, Ravel also supports Kotlin. In addition, Ravel might perform better than Loom for more complex projects since it uses IDE to resolve changes.
INFO
Fabric API used Ravel to migrate from Yarn to Mojang Mappings. See PR #4690 on the Fabric API repo.
Neither option is perfect, and you still have to review the results and make manual fixes, especially if migrating Mixins.
What's Going On with Mappings?
Historically, Minecraft: Java Edition has made use of obfuscation, which led to the development of obfuscation maps that Fabric Loom uses for modding. There were two choices: either Fabric's own Yarn mappings, or the official Mojang mappings.
Mojang recently released the first release of Minecraft: Java Edition with unobfuscated code, and the Fabric Project made the decision to not keep maintaning third-party mappings from this version onward. If you plan to update your mod to this version, you will need to switch to Mojang's mappings first before updating.
What Are Mappings?
Minecraft: Java Edition was obfuscated from its release until 1.21.11, which means that its code had human-friendly class names like Creeper replaced with gibberish like brc. In order to easily mod it, Fabric Loom makes use of obfuscation maps: references which translate obfuscated class names, such as brc, back to human-friendly names like CreeperEntity.
As a seasoned Fabric developer, you'd encounter three main sets of names:
- Intermediary: The mapping set that was used by compiled Fabric mods for obfuscated releases; for example
brcmay becomeclass_1548. The point behind Intermediary is offering a stable set of names across releases, as obfuscated class names change with each new version of Minecraft. This often allows mods built for one version to work on others, as long as the affected parts of the game haven't changed too much. - Yarn: an open-source mapping set developed by Fabric for humans to write mods. Most Fabric mods used Yarn Mappings, as they were the default before their deprecation in 2025. An example mapping might be
CreeperEntity. - Mojang Mappings: The game's official obfuscation mappings, released by Mojang in 2019 to aid mod development. Notably, Mojang's obfuscation mappings lack parameter names and Javadocs, which is why some users also layer Parchment over the official mappings. An example mapping might be
Creeper.
Minecraft 26.1 is unobfuscated and includes parameter names, so there is no need for any obfuscation mappings.


















