#Write and debug Minecraft commands in external IDE

2 messages · Page 1 of 1 (latest)

stuck karma
#

It is a fact that write and debug Minecraft commands in Minecraft chat is not a good experience. It is hard to write and debug commands in Minecraft chat. It is also hard to write and debug commands in Minecraft command blocks. So I want to write and debug Minecraft commands in external IDE.
I have already developed a mod named Socket Injection Debugger at https://github.com/Jaffe2718/Socket-Injection-Debugger, it can create a localhost-based socket server to listen for messages from external program. The external program can send messages to the socket server to inject commands into Minecraft, then Minecraft will execute the commands and send the result back to the external program by socket connection. With this mod, write and debug Minecraft commands in external IDE like Visual Studio Code or Jetbrains IDEs will be possible by writing a plugin for the IDEs to connect to the socket server and send commands to it.
Currently, the mod is still in development, and there is no IDE plugin (GitHub Copilot or other AI assistance excepted) to assist writing and debugging Minecraft commands. I hope someone can help me to develop the IDE plugin or give me some suggestion. And this mod can only run on Fabric Platform, I hope someone can help me to port it to Forge, Quilt or other platforms.

surreal mist