Topic category: Help with Minecraft modding (Java Edition)
I am developing a mod based on an entity, and the player must dialogue with it via chat using an ai. To do this, I created files ChatHandler.java and OpenAIClient.java:
this is ChatHandler.java code:
this is OpenAIClient.java code:
In addition, I created a libs folder in the root folder of the mod (C:\Users\User\MCreatorWorkspaces\myfriendmava\libs) and loaded the libraries:
okhttp-4.9.1.jar
okio-2.9.0.jar
gson-2.8.8.jar
there. In the root folder there is a
build.gradle file, the code there is:
https://pastebin.com/MnfibMX9
The error is that Minecraft starts, but a menu is displayed with the error:
How can I fix this? I tried a lot and couldn't solve the problem. I would be glad for any help. Minecraft 1.20.1. Forge 47.2.0.
crash: https://pastebin.com/VWhWk3DJ
hope someome will help me :D
Hmm theoretically this should work, not sure why these classes are not found
chatgpt is ai, ai is taking over the reason it didn't load is cause it didn't want to load. Ai has a mind of its own me of all people know that and again I think it didn't load because it didn't want too