mirror of
https://github.com/italicsjenga/valence.git
synced 2024-12-23 22:41:30 +11:00
7af119da72
## Description Combines the `EncodePacket` and `DecodePacket` trait into a single `Packet` trait. This makes `valence_protocol` simpler and easier to use. This can be done because all packets were made to be bidirectional in #253. Additionally, a `packet_id` method has been added. This should help with #238. ## Test Plan Steps: 1. Run examples, packet_inspector, etc. Behavior should be the same. |
||
---|---|---|
.. | ||
packet_inspector | ||
playground | ||
valence | ||
valence_anvil | ||
valence_nbt | ||
valence_protocol | ||
valence_protocol_macros | ||
valence_spatial_index | ||
valence_stresser |