Skip to content

plushmonkey/mclib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mclib

C++ library for connecting to Minecraft servers.

Features

  • Full protocol for Minecraft 1.10 through 1.12.2
  • Premium and offline mode
  • Yggdrasil API
  • Logging in with passwords or tokens
  • Reading and using token from launcher
  • Encryption
  • Compression
  • Log in to Forge servers
  • World data
  • Entity data
  • Basic inventory use
  • NBT data
  • Block entity data
  • Block collisions
  • Basic player controller for moving around

Building

Dependencies:

  • C++14 compiler (g++/clang/msvc 2017)
  • openssl
  • libcurl

Ubuntu:
sudo apt-get install clang libssl-dev libcurl4-openssl-dev
make

Windows:
unzip lib.zip
Open mclib.sln with Visual Studio 2017 and build

Examples

  • terracotta : OpenGL client
  • client : Basic example client for connecting to a server
  • mcbot : Bot with pathfinding and melee attacking
  • avalanche : Server stress test tool
  • mcqt : Chat client made with qt

About

C++ library for connecting to Minecraft servers

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages