Skip to content

Entity sneak and sprint#492

Merged
Defman merged 4 commits into
feather-rs:mainfrom
Tracreed:entity-sneak
Sep 27, 2021
Merged

Entity sneak and sprint#492
Defman merged 4 commits into
feather-rs:mainfrom
Tracreed:entity-sneak

Conversation

@Tracreed

Copy link
Copy Markdown
Contributor

Add Entity Sneaking and Sprinting for other clients.

Status

  • Ready
  • Development
  • Hold

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

  • Ran cargo fmt, cargo clippy --all-targets, cargo build --release and cargo test and fixed any generated errors!
  • Removed unnecessary commented out code
  • Used specific traces (if you trace actions please specify the cause i.e. the player)

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.

@Tracreed Tracreed changed the title Entity sneak Entity sneak and sprint Sep 27, 2021
@Schuwi

Schuwi commented Sep 27, 2021

Copy link
Copy Markdown
Member

LGTM

Comment thread feather/base/src/metadata.rs
Comment thread feather/server/src/client.rs Outdated
@Defman Defman merged commit 7288a29 into feather-rs:main Sep 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants