minecraft-protocol
minecraft-protocol copied to clipboard
Highly optimized and lightweight minecraft server written in Rust
set data on entities https://github.com/Mubelotix/minecraft-protocol/blob/c6751b12f24127dd442232d2dec1371939c2e5b3/minecraft-server/src/entities/player.rs#L269
set uuid https://github.com/Mubelotix/minecraft-protocol/blob/c6751b12f24127dd442232d2dec1371939c2e5b3/minecraft-server/src/entities/player.rs#L258
handle non-networkable entities https://github.com/Mubelotix/minecraft-protocol/blob/c6751b12f24127dd442232d2dec1371939c2e5b3/minecraft-server/src/entities/player.rs#L249
Support metadata changes observer\_manager\.notify\_metadata\_change\(eid, e\.position\.clone\(\), e\.metadata\.clone\(\)\)\.await; https://github.com/Mubelotix/minecraft-protocol/blob/052e28375232216c3e2faa2c39b50162a4f04119/minecraft-server/src/world/ecs.rs#L79
allow different observers for same entity https://github.com/Mubelotix/minecraft-protocol/blob/0216727a4421ca3741f2b18ea3237bd9791428ba/minecraft-server/src/world/change.rs#L199
make only one lookup and group into a single message with optional fields https://github.com/Mubelotix/minecraft-protocol/blob/48c9de943147d3221a9a4baa0b6794665917f0d6/minecraft-server/src/world/mod.rs#L117
change events https://github.com/Mubelotix/minecraft-protocol/blob/48c9de943147d3221a9a4baa0b6794665917f0d6/minecraft-server/src/world/mod.rs#L114
error handling https://github.com/Mubelotix/minecraft-protocol/blob/48c9de943147d3221a9a4baa0b6794665917f0d6/minecraft-server/src/world/mod.rs#L85
ensure it gets removed https://github.com/Mubelotix/minecraft-protocol/blob/48c9de943147d3221a9a4baa0b6794665917f0d6/minecraft-server/src/world/ecs.rs#L65
[perf] Return an iterator yielding blocks instead of a vec of blocks https://github.com/Mubelotix/minecraft-protocol/blob/48c9de943147d3221a9a4baa0b6794665917f0d6/minecraft-server/src/world/collisions.rs#L36