Posted December 30, 20213 yr 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...
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.