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

Make knockback effect ragdolls #25

Open
James103 opened this issue May 3, 2020 · 1 comment
Open

Make knockback effect ragdolls #25

James103 opened this issue May 3, 2020 · 1 comment

Comments

@James103
Copy link

James103 commented May 3, 2020

Currently, knockback does not affect ragdolls, but what if it did? (SekC Physics 0.1.0 on Minecraft Forge 1.12.2)

To reproduce, kill a zombie using a weapon enchanted with Knockback or Punch enchantments.

@sekwah41
Copy link
Owner

sekwah41 commented May 3, 2020

I may be mistaken though I believe that's handled server-side. The client never actually is told what killed the entity, just the fact that the entity died. I will be finishing my coursework in a few weeks and uni just after the end of the month so will be free then to work on these.

For client-side only ones, I could possibly detect the first movement packet for dead entities to see added velocity from that depending on what info is returned to the player.

I will take a look into it when possible.

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

No branches or pull requests

2 participants