Projectile knockback less than 1.8
MWHunter opened this issue ยท 6 comments
- Server Version: 1.16.5
- OldCombatMechanics version: Dev build 61
- Server Log File: Not important
- OldCombatMechanics config file: Default
To Reproduce
Steps to reproduce the behavior:
- Listen to the knockback packets
- Throw a snowball, egg, or fishing rod hook at someone
- The velocity packet sent is (0, 2201, 1747)
Expected Behaviour
- Throw a snowball, egg, or fishing rod hook at someone
- The velocity packet should be (0, 2866, 3200)
Actual Behaviour
The player takes less knockback than they should
I put the plugin that broadcasts knockback on spigot - https://www.spigotmc.org/resources/knockback-listener.90600/
The relevant code has changed significantly since this issues was opened. A new one can be opened if necessary.
@MWHunter The packet plugin doesn't seem to be available any more ๐. Would the knockback calculations actually be the same as for living entities (without sprinting knockback of course)?
Is this at all related with #483?
Somewhat related, as in projectiles do the non-sprinting knockback to the player.
So actually the projectile knockback is given by the ProjectileKnockback module by simply damaging the player a little. Would having the PlayerKnockback module also apply when it's Projectile damage do the trick, or are the calculations specific to when it's two players?