Skip to content

A minecraft data structure library with the goal of being compliant with the vanilla client

License

Notifications You must be signed in to change notification settings

Lenni0451/MCStructs

Folders and files

NameName
Last commit message
Last commit date
Sep 23, 2024
Mar 28, 2024
Jan 31, 2025
Apr 20, 2024
Jun 30, 2023
Jan 31, 2025
Apr 24, 2024
Aug 30, 2024
Jan 31, 2025
May 17, 2024
Mar 1, 2025
Oct 27, 2023
Oct 21, 2022
Oct 31, 2022
Oct 27, 2023
Oct 21, 2022
Jun 30, 2024
Mar 17, 2025
Dec 5, 2024
Mar 1, 2025
Aug 1, 2024
Dec 3, 2024

Repository files navigation

MCStructs

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.