mirror of
https://github.com/italicsjenga/valence.git
synced 2024-12-23 14:31:30 +11:00
9c9f672a22
## Description Closes #291 - Update extractors to support Minecraft 1.19.4 - Update code generators. - Changed generated entity component names to avoid name collisions. - Update `glam` version. - Added `Encode` and `Decode` for `glam` types in `valence_protocol`. - Fixed inconsistent packet names and assign packet IDs automatically. - Remove `ident` and rename `ident_str` to `ident`. - Rework registry codec configuration. Biomes and dimensions exist as entities.`BiomeRegistry` and `DimensionTypeRegistry` resources have been added. The vanilla registry codec is loaded at startup. ### Issues - Creating new instances has become more tedious than it should be. This will be addressed later. ## Test Plan Steps: 1. Boot up a vanilla server with online mode disabled. 2. Run the `packet_inspector`. 3. Connect to the vanilla server through the packet inspector to ensure all packets are updated correctly. 4. Close the vanilla server and try some valence examples. |
||
---|---|---|
.. | ||
gradle/wrapper | ||
src/main | ||
build.gradle | ||
copy_extractor_output.sh | ||
gradle.properties | ||
gradlew | ||
gradlew.bat | ||
README.md | ||
settings.gradle |
Valence Extractor
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 use
Here's how to regenerate the contents of extracted
.
From this directory, run the following
./gradlew runServer
This will run the extractor and immediately exit, outputting the files that are listed in the logs.
Next, run copy_extractor_output.sh
. This copies the files to extracted
so that they can be comitted.
./copy_extractor_output.sh
Contributing
Run ./gradlew genSources
to generate Minecraft Java source files for your IDE.