- connecting servers both in online and offline mode
- respond KeepAlive messages and send player position updates to remain connected
It does everything that is necessary for a successful online login:
- Yggdrasil authentication and token refresh
- Mojang session requests
- Session key exchange via RSA
- AES/CFB8 encryption
Package protocol provides types for all packets as of 1.7.2, as well as functions to encode and decode primitive types, types used in packets and the packets themselves. All packets as of 1.7.2 are implemented, but some of them, especially serverbound packets are untested.
Package net provides functions and classes for connecting and authentication. The type ClientConn provides functions to log in and makes it easy to send and receive protocol messages.
Package NBT is preliminary work on an NBT parser necessary to decode world chunk information sent by the server.
This is a now just a big pile of mess and meant for personal backup mostly.
Special thanks to:
There is no documentation for this package.