feather-rs / feather

A Minecraft server implementation in Rust
Apache License 2.0
2.58k stars 143 forks source link

Entity sneak and sprint #492

Closed Tracreed closed 2 years ago

Tracreed commented 2 years ago

Add Entity Sneaking and Sprinting for other clients.

Status

Description

Added 2 new systems that send a EntityMetadata packet, that tells clients that a certain entity is sneaking or sprinting. Added pose Enum to EntityMetadata, also changed Const name to better fit. Added a send_entity_metadata to client.

Related issues

Checklist

Note: if you locally don't get any errors, but GitHub Actions fails (especially at clippy) you might want to check your rust toolchain version. You can then feel free to fix these warnings/errors in your PR.

Schuwi commented 2 years ago

LGTM