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    6669

diesieben07

diesieben07    6669

  • Reality Controller
  • diesieben07
  • Forum Team
  • 6669
  • 45582 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    6669

diesieben07

diesieben07    6669

  • Reality Controller
  • diesieben07
  • Forum Team
  • 6669
  • 45582 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    6669

diesieben07

diesieben07    6669

  • Reality Controller
  • diesieben07
  • Forum Team
  • 6669
  • 45582 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    6669

diesieben07

diesieben07    6669

  • Reality Controller
  • diesieben07
  • Forum Team
  • 6669
  • 45582 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    6669

diesieben07

diesieben07    6669

  • Reality Controller
  • diesieben07
  • Forum Team
  • 6669
  • 45582 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    6669

diesieben07

diesieben07    6669

  • Reality Controller
  • diesieben07
  • Forum Team
  • 6669
  • 45582 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

    • diesieben07
      [1.14.4] Modifying the containers & screens of vanilla entities

      By diesieben07 · Posted 3 minutes ago

      Since you said this, I assumed you had already done that... You need a capability attached to horses, which stores an IItemHandler for your additional inventory space.
    • Choco
      [1.14.4] Modifying the containers & screens of vanilla entities

      By Choco · Posted 5 minutes ago

      Correct, although that was my question to begin with. How am I meant to modify the inventory of an existing entity? I was under the impression that this would be addressed as well, though that mustn't be the case. The way you had described it in your initial reply had made it seem like the slots would have allowed the user to interact with them. Perhaps I misunderstood. I understand I am interacting with the 3rd slot (index 2) and I understand why I'm getting this exception, I'm just unsure how to address it. Overriding one of the existing slot indexes surely isn't an option. I want to maintain the vanilla functionality of a horse.   So to rephrase the question in the OP, what would be the correct approach to add a slot to a horse inventory with which a player may interact and place/take items?
    • diesieben07
      [1.14.4] Add a Tab to the Player Inventory Gui in Survival Modus

      By diesieben07 · Posted 11 minutes ago

      You can use the various sub-events of GuiScreenEvent to change existing GUIs.
    • diesieben07
      [1.14] layout of a modpack

      By diesieben07 · Posted 12 minutes ago

      I haven't watched his videos. I only see people who say they used him produce terrible code and I've seen him on the Forge Discord asking stupid questions and proving has no idea what he's doing. As for other tutorials: I prefer to just look at the code and figure things out that way. But I have heard good thing's about Cadiboo's tutorials: https://cadiboo.github.io/tutorials/1.14.4/forge/.
    • diesieben07
      [1.14.4] Modifying the containers & screens of vanilla entities

      By diesieben07 · Posted 15 minutes ago

      You are telling the slot to use index 2 of the horse inventory. The default horse inventory only has 2 slots, indices 0 and 1.
  • Topics

    • Choco
      7
      [1.14.4] Modifying the containers & screens of vanilla entities

      By Choco
      Started 3 hours ago

    • DragonITA
      1
      [1.14.4] Add a Tab to the Player Inventory Gui in Survival Modus

      By DragonITA
      Started 17 minutes ago

    • JetCobblestone
      3
      [1.14] layout of a modpack

      By JetCobblestone
      Started 4 hours ago

    • AdieCraft
      0
      Working Flashing Christmas Tree

      By AdieCraft
      Started 20 minutes ago

    • plugsmustard
      29
      on/off button for custom furnace

      By plugsmustard
      Started Yesterday at 03:11 PM

  • Who's Online (See full list)

    • AmateurHalibut
    • AdieCraft
    • diesieben07
    • jgfarrell
    • Choco
    • blandal
    • saxon564
    • JellyFish
    • salvestrom
    • deerangle
    • AlphaMode
    • nenikitov
    • lopiy
    • Hendoor64
    • Simon_kungen
    • Choonster
    • plugsmustard
    • Gnaux
    • DragonITA
    • JetCobblestone
    • vaartis
    • Temps Pi
  • 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