GitPedia

CraftLib

๐ŸŽฎ CraftLib wraps the entire Minecraft codebase as a Java / Kotlin library. Supports protocol, NBT, chat and schematics. 1.7.x - 1.8.x

From ZeriteยทUpdated June 12, 2026ยทView on GitHubยท

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.

Latest release: 1.0.4โ€” ๐Ÿท Release 1.0.4

Header

CraftLib

The entire Minecraft codebase as a library, with protocol, NBT, chat and schematic file support.

Issues
License
Latest Version
Support

Contents

  1. What IS CraftLib?
  2. Using it
  3. Special Thanks

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

groovy
implementation 'dev.zerite.craftlib:craftlib-protocol:0.1.4'

3. Special Thanks

MCDevs

Wiki.vg

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 Java Profiler

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.

View all contributors on GitHub โ†’

This article is auto-generated from Zerite/CraftLib via the GitHub API.Last fetched: 6/28/2026