valence/src
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
..
chunk Move protocol code to valence_protocol + redesigns (#153) 2022-11-13 06:10:42 -08:00
client Move protocol code to valence_protocol + redesigns (#153) 2022-11-13 06:10:42 -08:00
entity Move protocol code to valence_protocol + redesigns (#153) 2022-11-13 06:10:42 -08:00
server Move protocol code to valence_protocol + redesigns (#153) 2022-11-13 06:10:42 -08:00
biome.rs Move protocol code to valence_protocol + redesigns (#153) 2022-11-13 06:10:42 -08:00
bvh.rs Fix stack overflow during BVH construction 2022-07-17 22:07:51 -07:00
chunk.rs Move protocol code to valence_protocol + redesigns (#153) 2022-11-13 06:10:42 -08:00
chunk_pos.rs Move protocol code to valence_protocol + redesigns (#153) 2022-11-13 06:10:42 -08:00
client.rs Move protocol code to valence_protocol + redesigns (#153) 2022-11-13 06:10:42 -08:00
config.rs Move protocol code to valence_protocol + redesigns (#153) 2022-11-13 06:10:42 -08:00
dimension.rs Move protocol code to valence_protocol + redesigns (#153) 2022-11-13 06:10:42 -08:00
entity.rs Move protocol code to valence_protocol + redesigns (#153) 2022-11-13 06:10:42 -08:00
inventory.rs Move protocol code to valence_protocol + redesigns (#153) 2022-11-13 06:10:42 -08:00
lib.rs Move protocol code to valence_protocol + redesigns (#153) 2022-11-13 06:10:42 -08:00
player_list.rs Move protocol code to valence_protocol + redesigns (#153) 2022-11-13 06:10:42 -08:00
player_textures.rs Move protocol code to valence_protocol + redesigns (#153) 2022-11-13 06:10:42 -08:00
server.rs Move protocol code to valence_protocol + redesigns (#153) 2022-11-13 06:10:42 -08:00
slab.rs Fix clippy issues 2022-09-02 00:37:02 -07:00
slab_rc.rs Fix clippy issues 2022-09-02 00:37:02 -07:00
slab_versioned.rs Fix clippy issues 2022-09-02 00:37:02 -07:00
spatial_index.rs Remove dbg! macro 2022-10-16 04:13:10 -07:00
util.rs Add Username<S> type (#132) 2022-10-22 20:17:06 -07:00
world.rs Chunk Rewrite With Paletted Containers (#91) 2022-10-07 15:52:55 -07:00