Posted March 24, 20223 yr My mod is throwing error and I tottaly don't know why. It only happens when I use mc launcher, when I started minecraft in Intellij it worked perfectly. I don't know what to do. I think it doesn't add json.jar to my mod. And I don't know how to add it correctly. It must be something with build.gradle. I would be glad if someone help me. Caught exception during event FMLCommonSetupEvent dispatch for modid ahflipping java.lang.NoClassDefFoundError: org/json/JSONObject My compiled mod download: link Mod files: link Launcher logs: link Edited March 24, 20223 yr by Skw972
March 24, 20223 yr Author Because I created my program before and I used other json library. I totally don't know how to use Gson.
March 24, 20223 yr Author Gson is just too complicated. In Json I have JSONObjects which contain all data from json. I don't see anything like this in Gson.
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.