CaveNightingale
ca269cd03e
Add a simple SNBT parser ( #201 )
...
To implement the hoverEvent show_item, we need an SNBT parser and a SNBT
serializer.
An SNBT parser is implemented in this commit.
2023-02-03 03:16:27 -08:00
Ryan Johnson
b5a355c756
Non-Object Text Deserialization ( #194 )
...
- Extends `Text`'s `Deserialize` impl to allow for deserializing JSON
data types other than objects.
- Add additional `From` impls for `Text`.
- Better `Debug` impl for `Text`.
- Tweaked text unit tests.
2023-01-21 00:17:19 -08:00
Guac
ad89e4457c
Implement clientbound packets ( #190 )
...
Co-authored-by: Ryan Johnson <ryanj00a@gmail.com>
2023-01-19 22:00:35 -08:00
Ryan Johnson
34c01d0f24
Add debug logging to valence_protocol ( #191 )
...
Adds `tracing` to `valence_protocol` so we can log debug info about
partially decoded packets. `packet_inspector` has been set to print log
messages at the debug level.
2023-01-16 16:32:22 -08:00
Ryan Johnson
ad675547b2
Update packet inspector README
2023-01-11 22:58:00 -08:00
Ryan Johnson
7574fa33c5
Commands and recipe book packets ( #183 )
...
Implement the commands and recipe book packets. Also reorganizes some
modules in valence_protocol.
2022-12-31 22:59:22 -08:00
Ryan Johnson
8d9c0a7553
Add recipe and tags packets ( #182 )
...
Also improve generated `Encode`, `Decode` error messages and fix
unnecessary build script reruns.
2022-12-30 06:18:24 -08:00
Ryan Johnson
c9aeda7dbd
Support NBT lists of type TAG_End ( #181 )
...
In NBT, lists are allowed to have the element type TAG_End iff their
length is zero. This adds an explicit `List::End` enum variant to
valence_nbt.
2022-12-29 18:10:29 -08:00
Ryan Johnson
2597e92b8f
Reorganize Packages ( #180 )
...
Moves all the packages to the `crates/` directory.
2022-12-29 16:51:05 -08:00