valence/examples
Ryan Johnson 420f2d1b7c
Move protocol code to valence_protocol + redesigns (#153)
Closes #83 

This PR aims to move all of Valence's networking code to the new
`valence_protocol` crate. Anything not specific to valence is going in
the new crate. It also redesigns the way packets are defined and makes a
huge number of small additions and improvements. It should be much
easier to see where code is supposed to go from now on.

`valence_protocol` is a new library which enables interactions with
Minecraft's protocol. It is completely decoupled from valence and can be
used to build new clients, servers, tools, etc.

There are two additions that will help with #5 especially:
- It is now easy to define new packets or modifications of existing
packets. Not all packets need to be bidirectional.
- The `CachedEncode` type has been created. This is used to safely cache
redundant calls to `Encode::encode`.
2022-11-13 06:10:42 -08:00
..
biomes.rs Redesign packet processing and improve Client update procedure. (#146) 2022-11-01 03:11:51 -07:00
building.rs Move protocol code to valence_protocol + redesigns (#153) 2022-11-13 06:10:42 -08:00
chest.rs Move protocol code to valence_protocol + redesigns (#153) 2022-11-13 06:10:42 -08:00
combat.rs Move protocol code to valence_protocol + redesigns (#153) 2022-11-13 06:10:42 -08:00
conway.rs Move protocol code to valence_protocol + redesigns (#153) 2022-11-13 06:10:42 -08:00
cow_sphere.rs Redesign packet processing and improve Client update procedure. (#146) 2022-11-01 03:11:51 -07:00
death.rs Redesign packet processing and improve Client update procedure. (#146) 2022-11-01 03:11:51 -07:00
entity_raycast.rs Move protocol code to valence_protocol + redesigns (#153) 2022-11-13 06:10:42 -08:00
inventory_piano.rs Move protocol code to valence_protocol + redesigns (#153) 2022-11-13 06:10:42 -08:00
parkour.rs Move protocol code to valence_protocol + redesigns (#153) 2022-11-13 06:10:42 -08:00
resource_pack.rs Move protocol code to valence_protocol + redesigns (#153) 2022-11-13 06:10:42 -08:00
terrain.rs Redesign packet processing and improve Client update procedure. (#146) 2022-11-01 03:11:51 -07:00