1.0-SNAPSHOT
release
PythonConnectMod
A simple mod to connect to Python (or any other app) through a socket server.
PythonConnectMod
A simple mod to connect to apps. This mod allows your code to easily interact with your Minecraft client by sending / commands to localhost:2542.
An example in Python: ``` from socket import socket, AF_INET, SOCK_STREAM
client = socket(AF_INET, SOCK_STREAM) client.connect(("localhost", 2542))
client.sendall("/give @s minecraft:diamond 64x00".encode("utf-8"))
Use x00 (u0000, ...) to seperate messages
client.close() ```