Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename the LivingEntity#getKnockbackAgainst method to getAttackKnockbackAgainst #4101

Merged

Conversation

haykam821
Copy link
Contributor

@haykam821 haykam821 commented Jan 28, 2025

The LivingEntity#getKnockbackAgainst method deals specifically with direct attacks from players and mobs, as indicated by its use of the minecraft:attack_knockback attribute. It does not apply to other cases where damage results in knockback, so its name has been changed accordingly.

@haykam821 haykam821 added the bug Fixes or discusses a bug within the mappings label Jan 28, 2025
@haykam821 haykam821 requested a review from a team January 28, 2025 19:08
@Shnupbups Shnupbups merged commit e396321 into FabricMC:25w04a Jan 29, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes or discusses a bug within the mappings
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants