[TODO] Migrate to the official Mojang mappings
See original GitHub issueAssuming upstream does it too, it will massively help with compatibility, easier updating, and generally similarity to the Forge Create. There is no reason not to do it for the Forge version, it’s even the default in newer Forge MDKs.
You won’t be able to contribute to Yarn if you saw Mojmap, and you’ll need convert names to Yarn when asking for help in Fabricord, but those are the only reasons to not use Mojmap.
When the time comes, how will we do it?
gradle migrateMappings --mappings="net.minecraft:mappings:<version>"
will hopefully work, otherwise manual remapping or manual Mercury usage- Apply the following patch to
build.gradle
:
--- build.gradle 2021-03-20 17:13:38.802497404 +0200
+++ build.gradle 2021-03-20 17:15:14.299166464 +0200
@@ -43,12 +43,7 @@
dependencies {
minecraft("com.mojang:minecraft:${project.minecraft_version}")
-
- /*
- * TODO Mojmap
- * mappings(minecraft.officialMojangMappings())
- */
- mappings("net.fabricmc:yarn:${project.yarn_mappings}:v2")
+ mappings(minecraft.officialMojangMappings())
modImplementation("net.fabricmc:fabric-loader:${project.loader_version}")
// Fabric API. This is technically optional, but you probably want it anyway.
- And the following patch to
gradle.properties
:
--- gradle.properties 2021-03-16 20:50:35.858660233 +0200
+++ gradle.properties 2021-03-20 17:16:29.489168349 +0200
@@ -4,7 +4,6 @@
# Fabric Properties
# check these on https://fabricmc.net/use
minecraft_version = 1.16.5
-yarn_mappings = 1.16.5+build.5
loader_version = 0.11.3
# Mod Properties
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (1 by maintainers)
Top Results From Across the Web
tutorial:migratemappings [Fabric Wiki]
Go here, select the version to migrate to, and copy the Gradle command ... If you want to go from Mojang's official mappings,...
Read more >How to Migrate Your Mojang Account to a Microsoft Account
Login to minecraft.net with your Mojang account and find the prompt IT'S YOUR TURN TO MOVE! on your profile page and click MOVE...
Read more >Switch from Yarn to Mojang mappings #4 - GitHub
Since then, Mojang have released their own (official) mappings, and these have seen ever increasing adoption in the modding community.
Read more >Tutorials/Map downloads - Minecraft Wiki - Fandom
Importing into Minecraft · Open the saves or minecraftWorlds folder. You will notice all your worlds are here. · Paste that...
Read more >Solved - Migrate to Mojang Mappings Error - SpigotMC
Hello All, I am attempting to migrate to Mojang Mappings for some of my previous plugins that contained obfuscated NMS code.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You are making false statements of fact. i have contributed to yarn and have seen both Mojmap and Mcp.
oh yeah this happened