CraftLib
๐ฎ CraftLib wraps the entire Minecraft codebase as a Java / Kotlin library. Supports protocol, NBT, chat and schematics. 1.7.x - 1.8.x
The entire Minecraft codebase as a library, with protocol, NBT, chat and schematic file support. The project is written primarily in Kotlin, distributed under the GNU Lesser General Public License v3.0 license, first published in 2020. Key topics include: craftlib, java, kotlin, minecraft, minecraft-api.
CraftLib
The entire Minecraft codebase as a library, with protocol, NBT, chat and schematic file support.
Contents
1. What IS CraftLib?
CraftLib is a simple Kotlin library which aims to completely recreate many of
the essential concepts of Minecraft.
This includes protocol, NBT, chat, localization, schematics and more to come!
This library includes full support for Kotlin's features out of the box with
additional functions being introduced to ensure Java interoperability is simple
and straightforward.
2. Using it.
To include CraftLib into your project, add the Maven Central repository to your project.
Then add the appropriate dependency notation for your build system to include our package.
Note: The wiki is currently a WIP. This file will be updated accordingly once it is
sufficiently complete.
Maven
xml<dependency> <groupId>dev.zerite.craftlib</groupId> <artifactId>craftlib-protocol</artifactId> <version>0.1.4</version> </dependency>
Gradle
groovyimplementation 'dev.zerite.craftlib:craftlib-protocol:0.1.4'
3. Special Thanks
MCDevs
A HUGE thank you to the team at #mcdevs (Freenode IRC) and their wiki.
Without their work documenting the Minecraft codebase, this project wouldn't be possible.
Some comments from their wiki pages (particularly protocol) have been used
throughout the codebase and all rights to those texts belong to their team.
YourKit
YourKit supports open source projects with innovative and intelligent tools
for monitoring and profiling Java and .NET applications.
YourKit is the creator of YourKit Java Profiler,
YourKit .NET Profiler,
and YourKit YouMonitor.
Contributors
Showing top 7 contributors by commit count.


