Jump to content
  • Home
  • Files
  • Docs
  • Merch
Topics
  • All Content

  • This Topic
  • This Forum

  • Advanced Search
  • Existing user? Sign In  

    Sign In



    • Not recommended on shared computers


    • Forgot your password?

  • Sign Up
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • ForgeGradle
  • How to update to a new version of minecraft?
1.13 Update Notes for Mod Creators
Sign in to follow this  
Followers 0
That_Martin_Guy

How to update to a new version of minecraft?

By That_Martin_Guy, July 19, 2017 in ForgeGradle

  • Reply to this topic
  • Start new topic

Recommended Posts

That_Martin_Guy    7

That_Martin_Guy

That_Martin_Guy    7

  • Creeper Killer
  • That_Martin_Guy
  • Members
  • 7
  • 177 posts
Posted July 19, 2017

I have want to update my mod from 1.11.2 to 1.12. I tried to change the minecraft version field in my build.gradle, but when I run

gradlew clean setupDecompWorkspace it fails and says the following:

* What went wrong:
Execution failed for task ':fixMcSources'.
> com.cloudbees.diff.PatchException: Cannot find hunk target

Here is my build.gradle.

 

I cannot give you the whole log. It is 42598 lines long and 1.9 mb big, and therefore cannot show it on any code sharing site I know of.

  • Quote

Share this post


Link to post
Share on other sites

Choonster    1624

Choonster

Choonster    1624

  • Reality Controller
  • Choonster
  • Forge Modder
  • 1624
  • 5050 posts
Posted July 19, 2017

You need to update ForgeGradle to 2.3 to use Minecraft 1.12.

  • Quote

Share this post


Link to post
Share on other sites

That_Martin_Guy    7

That_Martin_Guy

That_Martin_Guy    7

  • Creeper Killer
  • That_Martin_Guy
  • Members
  • 7
  • 177 posts
Posted July 19, 2017 (edited)

Do I need to update the mappings value? Didn't seem to work without it. Got the same error still.

 

New build.gradle

 

EDIT: And yes I did remove the .gradle folder

Edited July 19, 2017 by That_Martin_Guy
  • Quote

Share this post


Link to post
Share on other sites

Choonster    1624

Choonster

Choonster    1624

  • Reality Controller
  • Choonster
  • Forge Modder
  • 1624
  • 5050 posts
Posted July 19, 2017
18 minutes ago, That_Martin_Guy said:

Do I need to update the mappings value? Didn't seem to work without it. Got the same error still.

 

New build.gradle

 

EDIT: And yes I did remove the .gradle folder

 

Yes, you'll almost certainly need to update to a 1.12 mappings version.

 

You can find the latest mappings on the MCPBot website.

  • Quote

Share this post


Link to post
Share on other sites

That_Martin_Guy    7

That_Martin_Guy

That_Martin_Guy    7

  • Creeper Killer
  • That_Martin_Guy
  • Members
  • 7
  • 177 posts
Posted July 19, 2017

Thank you! Works wonderfully!

  • Quote

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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.

  • Insert image from URL
×
  • Desktop
  • Tablet
  • Phone
Sign in to follow this  
Followers 0
Go To Topic Listing



  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • MarkNutt0
      [1.12.2] if blockpos is entity

      By MarkNutt0 · Posted 3 minutes ago

      hi, im looking for a way to check if is/contains an entity rather than a block, ive tried stuff like this but cant seem to get it to work:   if (mc.world.getBlockState(pos).getBlock() == null)   cheers
    • diesieben07
      Memory Heap Thingy!

      By diesieben07 · Posted 2 hours ago

      That's not what this thread is about... Make your own thread and post logs.
    • gudie73
      Memory Heap Thingy!

      By gudie73 · Posted 3 hours ago

      It gets stuck on that part and doesn’t change
    • gudie73
      Memory Heap Thingy!

      By gudie73 · Posted 3 hours ago

      Wym  
    • RaphGamingz
      ScreenGui does nothing

      By RaphGamingz · Posted 3 hours ago

      any errors?
  • Topics

    • MarkNutt0
      0
      [1.12.2] if blockpos is entity

      By MarkNutt0
      Started 3 minutes ago

    • Mizinov
      7
      Memory Heap Thingy!

      By Mizinov
      Started August 24

    • Jaffaaaaa
      2
      ScreenGui does nothing

      By Jaffaaaaa
      Started Wednesday at 07:03 PM

    • jun2040
      5
      Game crashing when the block is activated

      By jun2040
      Started 20 hours ago

    • Merthew
      5
      [1.12.2] Multiple Structure Generation

      By Merthew
      Started November 7, 2018

  • Who's Online (See full list)

    • MarkNutt0
    • DragonITA
    • crackedEgg
    • Ugdhar
    • Neverless013
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • ForgeGradle
  • How to update to a new version of minecraft?
  • Theme
  • Contact Us
  • Discord

Copyright © 2019 ForgeDevelopment LLC · Ads by Curse Powered by Invision Community