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/com/github/steveice10/mc/protocol/test/MinecraftProtocolTest.java
The recommended way of fetching MCProtocolLib is through jitpack.io. See here for more details on how to include MCProtocolLib in your project.
Maven:
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
<dependency>
<groupId>com.github.Steveice10</groupId>
<artifactId>MCProtocolLib</artifactId>
<version>(version here)</version>
</dependency>
Gradle:
allprojects {
repositories {
maven { url 'https://jitpack.io' }
}
}
dependencies {
implementation 'com.github.Steveice10:MCProtocolLib:(version here)'
}
MCProtocolLib uses Maven to manage dependencies. Simply run 'mvn clean install' in the source's directory.
Please join us at https://discord.gg/geysermc under #mcprotocollib for discussion and support for this project.
MCProtocolLib is licensed under the MIT license.