Update readme

This commit is contained in:
Nassim Jahnke 2024-12-10 10:06:17 +01:00
parent f7d323b198
commit 3dee74c23c
No known key found for this signature in database
GPG Key ID: EF6771C01F6EF02F

View File

@ -1,13 +1,26 @@
Replaces mcstruct's inbuilt nbt library with ViaNBT.
## Setup
```bash
git submodule update --init
```
Then you can run the Python script to apply the automated updates.
```bash
py mcstructs.py
cd MCStructs
gradlew test -x checkstyleMain
```
```
## 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
```kotlin
implementation("com.viaversion.mcstructs:text:5-<mcstructs version>")
```
The prefix is the current major version of ViaVersion, followed by the mcstructs version.