I am attempting to test compatibility of my mod with another, and for the test I used Biomes o Plenty version 7.0.1.2384, the most recent version. I was disappointed to discover that after putting the jar in my run/mods folder I got a java.lang.ClassNotFoundException for the class biomesoplenty.core.ClientProxy. I got similar class not found exceptions when testing with other mods. What was even more confusing was if I compiled my mod and then ran it with Biomes o Plenty on a normal minecraft forge client there was no trouble at all. Not really sure what to do and I don't know if you would need any more information (I'm assuming you do and I'm happy to post it)
I am using Forge version 1.12.2-14.23.4.2708 and Eclipse. Thank you for taking a look at this.
Edit, I realized I posted this in the wrong section, maybe someone could help me out and move it?
Thank you so much for your quick response! Is there any way to obtain a deobfuscated version from an obfuscated version? I thought I read somewhere that forge does this on the fly to jars in the mods folder in a dev environment?
Thank you so much for your quick response! Is there any way to obtain a deobfuscated version from an obfuscated version? I thought I read somewhere that forge does this on the fly to jars in the mods folder in a dev environment?
Yes and no. IIRC, If you're installing normal mods in your run/mods folder, they won't be deobfuscated automatically. To get them to work, you need to add them to your build path, or just use deobf/dev versions in the run/mods folder.
I am attempting to test compatibility of my mod with another, and for the test I used Biomes o Plenty version 7.0.1.2384, the most recent version. I was disappointed to discover that after putting the jar in my run/mods folder I got a java.lang.ClassNotFoundException for the class biomesoplenty.core.ClientProxy. I got similar class not found exceptions when testing with other mods. What was even more confusing was if I compiled my mod and then ran it with Biomes o Plenty on a normal minecraft forge client there was no trouble at all. Not really sure what to do and I don't know if you would need any more information (I'm assuming you do and I'm happy to post it)
I am using Forge version 1.12.2-14.23.4.2708 and Eclipse. Thank you for taking a look at this.
Edit, I realized I posted this in the wrong section, maybe someone could help me out and move it?
When testing mods inside your development environment, you need to use the deobfuscated version of the mod, not a normal download.
Thank you so much for your quick response! Is there any way to obtain a deobfuscated version from an obfuscated version? I thought I read somewhere that forge does this on the fly to jars in the mods folder in a dev environment?
Yes and no. IIRC, If you're installing normal mods in your run/mods folder, they won't be deobfuscated automatically. To get them to work, you need to add them to your build path, or just use deobf/dev versions in the run/mods folder.