Jump to content

[1.13-1.14] How to add source mapping to dependencies in Eclipse?


Recommended Posts

Hello everyone,


on my laptop (Ubuntu), whenever I create a new project from a fresh mdk, there's a "<forge-version>-recomp.jar" in Project and External Dependencies, with correctly mapped variable names and comments.

On my PC (Windows 10), there's always a "<forge-version>.jar" instead, with obfuscated variable/parameter names.

I tried installing mappings from MCPBot but it looks like I'm doing it wrong and I can't find any helpful guide on how to do it right.


Currently, I do this:
1. choose mapping at http://export.mcpbot.bspk.rs/

2. in the build.gradle file of my project, in the minecraft block, replace the line "mappings channel: ..." with my chosen mapping, ex: "mappings = 'snapshot_20190912'"

3. run gradlew --refresh-dependencies

The command line output even displays a line "New Dep: <my chosen mappings snapshot>"

4. refresh my project in Eclipse


Nothing mush happens then, though. In my project's Project and External Dependencies, "mcp_snapshot-<version>.zip" appears but it only contains the mappings as .csv files. I must be misunderstanding something fundamentally because I haven't found any similar issues.

Link to comment
Share on other sites

  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...

Important Information

By using this site, you agree to our Terms of Use.