MCStructs
June 30, 2024 ยท View on GitHub
A minecraft data structure library with the goal of being compliant with the vanilla client.
MCStructs is designed to have an open API, allowing for easy modification of internal structures.
Modules
| Module | Description | Support Versions |
|---|---|---|
| all | Gradle module with all modules except data | |
| converter | A reimplementation of codecs | 1.20.3 - 1.21 |
| core | Some util classes usually needed by other modules | * |
| data | Dumps of game data mainly used for inventories | 1.7 |
| itemcomponents | Item component implementations with serialization | 1.20.5 - 1.21 |
| nbt | General purpose nbt implementation | * |
| snbt | String Nbt parser for every version with snbt | 1.7 - 1.21 |
| text | Implementation of all text components | 1.6 - 1.21 |
Releases
Gradle/Maven
To use MCStructs with Gradle/Maven you can follow the instructions on maven central.
Gradle Template:
repositories {
mavenCentral()
}
dependencies {
implementation "net.lenni0451.mcstructs:all:x.x.x"
}
You should check maven central for the latest version.
Jar File
You can download the jar files for all modules from my Jenkins server.
Module dependencies are not included in the jar files. You have to add them yourself.
Usage
Check the wiki for more information.