MCProtocolLib is a simple library for communicating with a Minecraft client/server. It aims to allow people to make custom bots, clients, or servers for Minecraft easily.
See example/org/spacehq/mc/protocol/test/Test.java
MCProtocolLib uses Maven to manage dependencies. Simply run 'mvn clean install' in the source's directory. Snapshots (if any exist) can be downloaded here. Releases (if any exist) can be downloaded here.
MCProtocolLib is licensed under the MIT license.