Justenoughitems: (1.13.2) JEI NoSuchMethod errors in dev environment

Created on 16 Mar 2019  路  19Comments  路  Source: mezz/JustEnoughItems

I'm getting errors like this when trying to load JEI in my IDE
https://gist.github.com/TyrellPlayz/a04b285f138a9f3baf2dd68ffd54b5fc

bug

Most helpful comment

I have submitted a fix for the maven url issue to ForgeGradle here: https://github.com/MinecraftForge/ForgeGradle/pull/576

All 19 comments

Thanks for the report!
I tried it out and got the same error.

This seems to be an issue with the options we have for setting up mod dependencies in ForgeGradle.
I can't really get deobfuscation using gradle to work, and the runtime deobfuscation for mods in the mods folder has been removed in 1.13.

Does it still work with the libs folder? That's the way I typically add non-maven dependencies. I don't recall whether that deobfuscates or just copies to the mods folder

Using https://dvs1.progwml6.com/files/maven/ as the maven url seems to work with deobf, at least for me.

https://github.com/MinecraftForge/ForgeGradle/issues/571#issuecomment-473668106

Confirmed that adding a trailing slash to the repository url makes deobf work. Thanks!

I have submitted a fix for the maven url issue to ForgeGradle here: https://github.com/MinecraftForge/ForgeGradle/pull/576

I made cpw aware of the AT issues and he will look into them when he finds some time to (probably in the next few weeks).

Still having issues here's some more information.
build.gradle
error log
image

Having some issues with the build servers but I will try to get a potential fix for this out soon.

Please try with JEI version 5.0.0.11, it should be fixed.

Still getting the same error. I think it's something on forges side or something wrong with my setup.
https://gist.github.com/TyrellPlayz/66f2b7ee315460e2f3a5c728e21b6494

Hmm, thanks.
It's working for players now, but Forge is still missing something that lets ATs from other mods work in the developer environment.

Well that's nice. I thought I would need to add it to my AT for it to work but don't have a full understanding of how to add to the AT.

The hacky workaround for now is to just copy everything from JEI's file AT into your AT file, then refresh your project so they get applied.
You can find JEI's AT file here: https://github.com/mezz/JustEnoughItems/blob/1.13/src/main/resources/META-INF/accesstransformer.cfg

Didn't work, got the same error

You may not have set up the dependency correctly, you will want to use deobf like this:
deobf "mezz.jei:jei-${project.mcversion}:${project.jeiversion}"

deobf "mezz.jei:jei-${project.minecraft_version}:${project.jei_version}"
did not work
Here's my build.gradle if you want to look

Leave out the compile line entirely for now and if you crash, please paste the new crash log to gist and link it here.

That worked

Was this page helpful?
0 / 5 - 0 ratings

Related issues

NullSector76 picture NullSector76  路  4Comments

bookerthegeek picture bookerthegeek  路  5Comments

Wodong77 picture Wodong77  路  3Comments

gendalv picture gendalv  路  4Comments

mezz picture mezz  路  5Comments