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
  • Cannot find hunk target
1.13 Update Notes for Mod Creators
Sign in to follow this  
Followers 1
Arkyo

Cannot find hunk target

By Arkyo, August 6, 2018 in ForgeGradle

  • Reply to this topic
  • Start new topic

Recommended Posts

Arkyo    0

Arkyo

Arkyo    0

  • Tree Puncher
  • Arkyo
  • Members
  • 0
  • 42 posts
Posted August 6, 2018

Caused by: com.cloudbees.diff.PatchException: Cannot find hunk target

at net.minecraftforge.gradle.util.patching.ContextualPatch.applyHunk(ContextualPatch.java:349)

at net.minecraftforge.gradle.util.patching.ContextualPatch.applyPatch(ContextualPatch.java:217)

at net.minecraftforge.gradle.util.patching.ContextualPatch.patch(ContextualPatch.java:147)

at net.minecraftforge.gradle.tasks.PostDecompileTask.asRead(PostDecompileTask.java:135)

at net.minecraftforge.gradle.tasks.AbstractEditJarTask.copyJar(AbstractEditJarTask.java:233)

at net.minecraftforge.gradle.tasks.AbstractEditJarTask.doTask(AbstractEditJarTask.java:73)

 

in task :sourceProcessJar

 

  • Quote

Share this post


Link to post
Share on other sites

diesieben07    6680

diesieben07

diesieben07    6680

  • Reality Controller
  • diesieben07
  • Forum Team
  • 6680
  • 45687 posts
Posted August 6, 2018

Please provide more information. What version are you using? Post the complete log.

  • Quote

Share this post


Link to post
Share on other sites

Arkyo    0

Arkyo

Arkyo    0

  • Tree Puncher
  • Arkyo
  • Members
  • 0
  • 42 posts
Posted August 6, 2018

I forked Forge repo and was running `setup` when this occurs.

 

I am sorry, but where can I find the gradle log?

  • Quote

Share this post


Link to post
Share on other sites

Arkyo    0

Arkyo

Arkyo    0

  • Tree Puncher
  • Arkyo
  • Members
  • 0
  • 42 posts
Posted August 6, 2018
32 minutes ago, diesieben07 said:

Please provide more information. What version are you using? Post the complete log.

https://pastebin.com/UZB9017i

  • Quote

Share this post


Link to post
Share on other sites

diesieben07    6680

diesieben07

diesieben07    6680

  • Reality Controller
  • diesieben07
  • Forum Team
  • 6680
  • 45687 posts
Posted August 6, 2018

Not sure what the issue there is. Try cleaning your gradle cache and run again.

  • Quote

Share this post


Link to post
Share on other sites

Arkyo    0

Arkyo

Arkyo    0

  • Tree Puncher
  • Arkyo
  • Members
  • 0
  • 42 posts
Posted August 6, 2018
1 minute ago, diesieben07 said:

Not sure what the issue there is. Try cleaning your gradle cache and run again.

Cleaned many times

  • Quote

Share this post


Link to post
Share on other sites

Arkyo    0

Arkyo

Arkyo    0

  • Tree Puncher
  • Arkyo
  • Members
  • 0
  • 42 posts
Posted August 6, 2018

I have a lot of illegal access lines tho , here is a little pitch of it

Quote

": "29"
    Illegal Access Config Line: }
    Illegal Access Config Line: ]
    Illegal Access Config Line: },
    Illegal Access Config Line: "net/minecraft/world/storage/loot/properties/EntityProperty": {
    Illegal Access Config Line: "innerClasses": [
    Illegal Access Config Line: {
    Illegal Access Config Line: "inner_class": "net/minecraft/world/storage/loot/properties/EntityProperty$Serializer",
    Illegal Access Config Line: "inner_name": "Serializer",
    Illegal Access Config Line: "outer_class": "net/minecraft/world/storage/loot/properties/EntityProperty",
    Illegal Access Config Line: "start": "24",
    Illegal Access Config Line: "access": "429"
    Illegal Access Config Line: }
    Illegal Access Config Line: ]
    Illegal Access Config Line: },

 

  • Quote

Share this post


Link to post
Share on other sites

diesieben07    6680

diesieben07

diesieben07    6680

  • Reality Controller
  • diesieben07
  • Forum Team
  • 6680
  • 45687 posts
Posted August 6, 2018

Uh... okay.

Out of interest, what branch are you on?

  • Quote

Share this post


Link to post
Share on other sites

Arkyo    0

Arkyo

Arkyo    0

  • Tree Puncher
  • Arkyo
  • Members
  • 0
  • 42 posts
Posted August 6, 2018
33 minutes ago, diesieben07 said:

Uh... okay.

Out of interest, what branch are you on?

Forge 2747 i guess

  • Quote

Share this post


Link to post
Share on other sites

diesieben07    6680

diesieben07

diesieben07    6680

  • Reality Controller
  • diesieben07
  • Forum Team
  • 6680
  • 45687 posts
Posted August 6, 2018

That is not a branch. You said you forked the Forge repo? Are you trying to make a PR?

  • Quote

Share this post


Link to post
Share on other sites

Arkyo    0

Arkyo

Arkyo    0

  • Tree Puncher
  • Arkyo
  • Members
  • 0
  • 42 posts
Posted August 6, 2018
Just now, diesieben07 said:

That is not a branch. You said you forked the Forge repo? Are you trying to make a PR?

1.12.x

And yes I wanna make a PR

  • Quote

Share this post


Link to post
Share on other sites

diesieben07    6680

diesieben07

diesieben07    6680

  • Reality Controller
  • diesieben07
  • Forum Team
  • 6680
  • 45687 posts
Posted August 6, 2018

Okay. Not sure what the problem is then if you really cleaned out the cache.

  • Quote

Share this post


Link to post
Share on other sites

Arkyo    0

Arkyo

Arkyo    0

  • Tree Puncher
  • Arkyo
  • Members
  • 0
  • 42 posts
Posted August 6, 2018
Just now, diesieben07 said:

Okay. Not sure what the problem is then if you really cleaned out the cache.

Do u know something about ForgeGradle's https://github.com/MinecraftForge/ForgeGradle/blob/FG_2.3/src/main/java/net/minecraftforge/gradle/tasks/DeobfuscateJar.java#L287

I want to bump MCInjector to 3.7.3

  • Quote

Share this post


Link to post
Share on other sites

diesieben07    6680

diesieben07

diesieben07    6680

  • Reality Controller
  • diesieben07
  • Forum Team
  • 6680
  • 45687 posts
Posted August 6, 2018
2 minutes ago, Arkyo said:

Do u know something about ForgeGradle's https://github.com/MinecraftForge/ForgeGradle/blob/FG_2.3/src/main/java/net/minecraftforge/gradle/tasks/DeobfuscateJar.java#L287

I want to bump MCInjector to 3.7.3

Don't bother. ForgeGradle is getting a rewrite for 1.13.

  • Quote

Share this post


Link to post
Share on other sites

Arkyo    0

Arkyo

Arkyo    0

  • Tree Puncher
  • Arkyo
  • Members
  • 0
  • 42 posts
Posted August 6, 2018
1 minute ago, diesieben07 said:

Don't bother. ForgeGradle is getting a rewrite for 1.13.

So I guess I'll bump to 3.6 then

  • 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 1
Go To Topic Listing



  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • Draco18s
      MoonPhase help

      By Draco18s · Posted 13 minutes ago

      Events don't return values. Second, I'm pretty sure getMoonPhase() is client side only.
    • GatoLeyo
      MoonPhase help

      By GatoLeyo · Posted 18 minutes ago

      Im new at modding so probably this have an obvious error but plz somebody tell me how can i make this works, it is intended to return a value in relation to the moon phase       public float endWorldTick(TickEvent.WorldTickEvent event)      {         float x = 0;         if(event.side.isServer() && event.phase == TickEvent.Phase.END)          {             World world = event.world;             if(world.provider.getDimension() == 0) {                 if(world.getMoonPhase() == 1.0f)                  {                   x = 15.0f;                 }             }         }         return x;     }  
    • DaemonUmbra
      Can't see anything on minecraft menu screen except for the bottom left corner

      By DaemonUmbra · Posted 43 minutes ago

      Please don't Necro old threads, if you have an issue make your own.
    • DaemonUmbra
      Forge having problem loading mods

      By DaemonUmbra · Posted 44 minutes ago

      You changed "Game Directory" to your mods folder. The Game Directory is supposed to be the folder that contains the mods folder, .minecraft by default
    • Casual
      1.12.2 crash on game start

      By Casual · Posted 48 minutes ago

      Ok to add on, had to do manual library install due to failed library install thing, also there is never another window It just closes the launcher window and then reopens it with the error.
  • Topics

    • GatoLeyo
      1
      MoonPhase help

      By GatoLeyo
      Started 18 minutes ago

    • florgonn
      4
      Can't see anything on minecraft menu screen except for the bottom left corner

      By florgonn
      Started July 30, 2014

    • SilviaX_92
      3
      Forge having problem loading mods

      By SilviaX_92
      Started 3 hours ago

    • Casual
      1
      1.12.2 crash on game start

      By Casual
      Started 1 hour ago

    • PulseBeat_02
      14
      [1.12.2] Forge Crashes While Just Loading Into Loading Screen

      By PulseBeat_02
      Started December 13, 2018

  • Who's Online (See full list)

    • Ommina
    • Darren Hayden
    • Draco18s
    • MattNL
    • plugsmustard
    • Cosmic_Cookie
    • GatoLeyo
    • hobohogiepro
    • Choonster
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • ForgeGradle
  • Cannot find hunk target
  • Theme
  • Contact Us
  • Discord

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