https://github.com/zerite/craftlib
🎮 CraftLib wraps the entire Minecraft codebase as a Java / Kotlin library. Supports protocol, NBT, chat and schematics. 1.7.x - 1.8.x
https://github.com/zerite/craftlib
craftlib java kotlin minecraft minecraft-api minecraft-chat minecraft-codebase minecraft-nbt minecraft-protocol nbt protocol schematic
Last synced: about 2 months ago
JSON representation
🎮 CraftLib wraps the entire Minecraft codebase as a Java / Kotlin library. Supports protocol, NBT, chat and schematics. 1.7.x - 1.8.x
- Host: GitHub
- URL: https://github.com/zerite/craftlib
- Owner: Zerite
- License: lgpl-3.0
- Created: 2020-06-05T05:35:30.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-29T10:11:12.000Z (over 2 years ago)
- Last Synced: 2024-11-02T16:35:15.439Z (7 months ago)
- Topics: craftlib, java, kotlin, minecraft, minecraft-api, minecraft-chat, minecraft-codebase, minecraft-nbt, minecraft-protocol, nbt, protocol, schematic
- Language: Kotlin
- Homepage: https://zerite.dev
- Size: 573 KB
- Stars: 86
- Watchers: 2
- Forks: 6
- Open Issues: 3
-
Metadata Files:
- Readme: README.MD
- Contributing: .github/CONTRIBUTING.MD
- License: LICENSE
Awesome Lists containing this project
- awesome-minecraft - CraftLib - Complete [Kotlin](https://kotlinlang.org) / Java library for wrapping the entire Minecraft codebase, including protocol, NBT, schematics, chat and more. (Softwares / Libraries)
README

## CraftLib
The entire Minecraft codebase as a library, with protocol, NBT, chat and schematic file support.[](https://github.com/Zerite/CraftLib/issues)
[](https://github.com/Zerite/CraftLib/blob/master/LICENSE)

#### Contents
1. [What IS CraftLib?](#1-what-is-craftlib)
2. [Using it](#2-using-it)
3. [Special Thanks](#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**
```xmldev.zerite.craftlib
craftlib-protocol
0.1.4```
**Gradle**
```groovy
implementation 'dev.zerite.craftlib:craftlib-protocol:0.1.4'
```#### 3. Special Thanks
##### MCDevs
[](https://wiki.vg/Main_Page)A **HUGE** thank you to the team at #mcdevs (Freenode IRC) and their [wiki](https://wiki.vg/Main_Page).
Without their work documenting the Minecraft codebase, this project wouldn't be possible.
Some comments from their wiki pages (particularly [protocol](https://wiki.vg/Protocol)) have been used
throughout the codebase and all rights to those texts belong to their team.##### YourKit
[](https://www.yourkit.com)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](https://www.yourkit.com/java/profiler/),
[YourKit .NET Profiler](https://www.yourkit.com/.net/profiler/),
and [YourKit YouMonitor](https://www.yourkit.com/youmonitor/).