Skip to content

Fix PlayHurtAnimation not working on modern Minecraft verions#26

Merged
Tofaa2 merged 1 commit intoTofaa2:masterfrom
LoJoSho:hurt_animation_fix
Mar 2, 2025
Merged

Fix PlayHurtAnimation not working on modern Minecraft verions#26
Tofaa2 merged 1 commit intoTofaa2:masterfrom
LoJoSho:hurt_animation_fix

Conversation

@LoJoSho
Copy link
Copy Markdown
Contributor

@LoJoSho LoJoSho commented Mar 2, 2025

This PR seeks to fix the problems of playHurtAnimation not working on versions above 1.19.4 since the animation packet was replaced by a dedicated packet for showing damage.

This deprecates the old method, and adds a new method that allows developers to put in a yaw for the hurt animation.

Copy link
Copy Markdown
Owner

@Tofaa2 Tofaa2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@Tofaa2 Tofaa2 merged commit 244145e into Tofaa2:master Mar 2, 2025
1 check passed
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.

2 participants