valence/crates
Ryan Johnson 7af119da72
Replace EncodePacket and DecodePacket with Packet (#261)
## 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.
2023-02-25 11:21:25 -08:00
..
packet_inspector Replace EncodePacket and DecodePacket with Packet (#261) 2023-02-25 11:21:25 -08:00
playground Implement Drop Item Events (#252) 2023-02-20 15:37:09 -08:00
valence Replace EncodePacket and DecodePacket with Packet (#261) 2023-02-25 11:21:25 -08:00
valence_anvil Refactor valence_protocol (#253) 2023-02-23 22:16:22 -08:00
valence_nbt Refactor valence_protocol (#253) 2023-02-23 22:16:22 -08:00
valence_protocol Replace EncodePacket and DecodePacket with Packet (#261) 2023-02-25 11:21:25 -08:00
valence_protocol_macros Replace EncodePacket and DecodePacket with Packet (#261) 2023-02-25 11:21:25 -08:00
valence_spatial_index Reorganize Packages (#180) 2022-12-29 16:51:05 -08:00
valence_stresser Refactor valence_protocol (#253) 2023-02-23 22:16:22 -08:00