Minor problems adding ChatGPT to Minecraft. helpmepls:c

Started by stultus on

Topic category: Help with modding (Java Edition)

Last seen on 00:03, 6. Jun 2024
Joined Jun 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Minor problems adding ChatGPT to Minecraft. helpmepls:c

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:

https://pastebin.com/LNUSk4wd

this is OpenAIClient.java code:

https://pastebin.com/35Th09Cq

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:
CDN media
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

Last seen on 00:03, 6. Jun 2024
Joined Jun 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
hope someome will help me :D
Wed, 06/05/2024 - 02:43

hope someome will help me :D

Last seen on 16:12, 22. Jun 2024
Joined Jun 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
chatgpt is ai, ai is taking…
Thu, 06/06/2024 - 12:06

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