Jump to content

fg.deobf failing for sub-projects


BlockyPenguin

Recommended Posts

I've got my workspace laid out as such:

[workspace root]
         |
         |-- LabKore
         |      |
         |      |-- build.gradle
         |      |-- src, etc..
         |
         |-- PowerKit
         |      |
         |      |-- build.gradle
         |      |-- src, etc..
         |
         |-- build.gradle
         |-- settings.gradle
         |-- etc..

PowerKit and LabKore are two individual mods.

I wish for PowerKit to have a dependency on LabKore, and although everything looks fine in Eclipse, when I run runClient, Minecraft crashes with a InvocationTargetException.

Looking in the logs, I see the following lines of interest:

Exception message: java.lang.NoSuchMethodError: 'net.minecraft.world.item.Item$Properties net.minecraft.world.item.Item$Properties.m_41491_(net.minecraft.world.item.CreativeModeTab)'

Cannot deobfuscate dependency of type DefaultProjectDependency_Decorated, using obfuscated version!

In PowerKit's build.gradle, I have added LabKore as a dependency like so:

dependencies {
	implementation fg.deobf(project(':labkore'))
}

Why can ForgeGradle not deobfuscate LabKore? How can I fix it?

Thanks

Today (22/10/20) I reached 100 posts!

I'm probably more excited than I should be for something so realistically minor...

Link to comment
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.
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.



×
×
  • Create New...

Important Information

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