Jump to content

Recommended Posts

Posted

I'm attempting to create my first minecraft mod, using ForgeGradle and Intellij IDEA. I've been following McJty's tutorial (https://www.mcjty.eu/docs/1.20/ep1) and just finished making the changes to the properties and build files. When I executed the command "gradle genIntellijRuns" through the gradle tab, I recieved this error message:

> Task :createMcpToSrg FAILED

Execution failed for task ':createMcpToSrg'.
> Invalid mappings: task ':createMcpToSrg' property 'mappings' Could not find archive

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.
BUILD FAILED in 4s
3 actionable tasks: 2 executed, 1 up-to-date
Watched directory hierarchies: [C:\Users\timot\OneDrive\Documents\Java\Minecraft Modding\aegisprotocol]

 

I looked for a solution on the forums and found a suggestion to change my mapping type in the properties file from official to parchment, but making this change resulted in the same error. Any ideas as to what I'm doing wrong?

  • 6 months later...
Posted

I encountered this issue and the problem for me is that the mapping_version value in gradle.properties was wrong, I am using minecraft version 1.21.4 and parchment mappings version should be 2025.02.16.
I was supposed to have mapping_version=2025.02.15-1.21.4 but I had a typo where I wrote 2024 instead of 2025 which caused the issue.
Make sure it's correctly formatted like this:
mapping_version={YEAR}.{MONTH}.{DATE}-{MINECRAFT_VERSION}
And maybe make sure you didn't misspell the mapping_channel=parchment either.

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.

Guest
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.

Announcements



×
×
  • Create New...

Important Information

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