README.md
June 22, 2025 ยท View on GitHub
Replaces mcstruct's inbuilt nbt library with ViaNBT.
Setup
git submodule update --init
Then you can run the Python script to apply the automated updates.
py apply.py
cd MCStructs
gradlew test
Development
Use -d (--dev-mode) to prepare for doing patch changes:
py apply.py -d
Run this to rebuild the patch:
py rebuild.py
Dependency
We wouldn't necessarily recommend depending on this given the hacky replacements and specific needs, but this is published to our maven repository at: https://repo.viaversion.com
implementation("com.viaversion.mcstructs:text:5-<mcstructs version>")
The prefix is the current major version of ViaVersion, followed by the mcstructs version.