This is a Fabric mod for Minecraft that extracts data about different things in Minecraft, like blocks, packets, etc. All the extracted data is stored in the sibling `extracted` folder.
## How to update valence to a new version of Minecraft
The general process should go something like this:
1. Update `gradle.properties` to the new version of Minecraft using https://fabricmc.net/develop
2. Update `src/main/resources/fabric.mod.json` to reference new version of Minecraft
3. Update `PROTOCOL_VERSION` and `MINECRAFT_VERSION` constants in `valence_core/src/lib.rs`
4. Attempt to run `./gradlew runServer` and fix any errors that come up
5. Run `./copy_extractor_output.sh`
6. In `*.toml`s, replace all strings of the old mc version with the new mc version
7. Try all the examples. If they work, you're probably done.
If you need to update gradle, running this will automatically update the wrapper to the specified version, and update `gradle/gradle-wrapper.properties`.
```sh
./gradlew wrapper --gradle-version VERSION
```
You may also need to update the fabric mappings in the mod.