A library for communication with a Minecraft client/server.
Find a file
2021-11-12 12:54:18 -05:00
.github/workflows Bump action version 2020-06-25 01:33:53 +01:00
example/com/github/steveice10/mc/protocol/test Update to latest MCAuthLib commit. 2021-09-06 15:05:31 -07:00
src Add missing Generic Statistics (#668) 2021-11-11 14:19:08 -05:00
.gitignore General cleanup, fixes, and re-versioning. 2015-07-20 11:13:18 -07:00
LICENSE.txt Update license year. 2021-05-13 00:28:31 -07:00
pom.xml Use PacketLib 2.1-SNAPSHOT for now 2021-11-12 12:54:18 -05:00
README.md Add Discord link 2021-10-04 20:41:27 -04:00

MCProtocolLib

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.

Example Code

See example/com/github/steveice10/mc/protocol/test/MinecraftProtocolTest.java

Adding as a Dependency

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)'
}

Building the Source

MCProtocolLib uses Maven to manage dependencies. Simply run 'mvn clean install' in the source's directory.

Support and development

Please join us at https://discord.gg/geysermc under #mcprotocollib for discussion and support for this project.

License

MCProtocolLib is licensed under the MIT license.