libmcprotocol is meant to be a faster and more efficient alternative to PrismarineJS's mineflayer. It's written in C, and can easily be ported to pretty much any other programming language.
- Change the makefile to compile libmcprotocol as a shared library
See example.c
for a quick example that uses libmcprotocol to create a simple Minecraft client in C. To compile example.c
, run the command:
gcc example.c -o example -L. -Iinclude -lmcprotocol
libmcprotocol is licensed under LGPLv3.