/connect host:port
, with host
being a hostname or IP address to the machine running the app and port
being the port displayed in the app. Encrypted WebSockets aren't implemented yet, so you might need to turn off 'Require Encrypted Websockets' in the Minecraft profile settings. The app should be connected to the game and the 'Connect' button should turn into the 'Run' button.
github.com/MacaylaMarvelous81/minecraft-codeawait
, so I had to switch to using sendSync
instead of invoke
with Electron ipc. Currently, the only event from the game I have is an event when the player dies. I could add more events, but they would be more useful if the event data could be used, so I want to figure that out first. I'm thinking that I could use value blocks to represent the last data received from an event, like in the picture.agent.teleport(null, 100, null)
which goes through JS-Interpreter to Electron to the WebSocket server to Minecraft. I only have a few blocks so far, and I hope to add events, but I think I've got the basics!