1
0
Fork 0
mirror of https://github.com/italicsjenga/valence.git synced 2025-02-23 18:17:44 +11:00
valence/crates/valence_protocol
Ryan Johnson 4cf6e1a207
Entity Rework ()
## Description

Closes 
Closes  

- Removes `McEntity` and replaces it with bundles of components, one for
each entity type.
- Tracked data types are now separate components rather than stuffing
everything into a `TrackedData` enum.
- Tracked data is now cached in binary form within each entity,
eliminating some work when entities enter the view of clients.
- Complete redesign of entity code generator.
- More docs for some components.
- Field bits are moved out of the entity extractor and into the valence
entity module.
- Moved hitbox code to separate module.
- Refactor instance update systems to improve parallelism.

### TODOs
- [x] Update examples.
- [x] Update `default_event_handler`.
- [x] Fix bugs.

## Test Plan

Steps:
1. Check out the entity module docs with `cargo d --open`.
2. Run examples.
2023-03-21 23:29:38 -07:00
..
benches Refactor valence_protocol () 2023-02-23 22:16:22 -08:00
build Provide API for getting the wall variant of blocks () 2023-02-23 21:21:27 -08:00
src Entity Rework () 2023-03-21 23:29:38 -07:00
Cargo.toml ECS Rewrite () 2023-02-11 09:51:53 -08:00