When charging at a mob with a spear, beyond the first hit any consecutive hits will only deal knockback. However if the entity is immune to knockback or if knockback cannot be applied (ie, on the 3rd stage of the charge attack), chain hits from a charge attack will correctly deal damage, implying that the knockback somehow overrides the damage from being applied.
Steps to observe:
On a flat world, summon a regular mob (such as a mannequin since they do not move) and use a spear to charge at them
β The charge attack works correctly on the first hit, but if you land any consecutive hits on the same charge, the hit sound and hit animation play (notably only for every other hit though) and deals knockback, but no damage
Now summon a mob immune to knockback (iron golem, warden, etc), or a mob riding a boat (since they canβt be knocked back or dismounted by spears), or simply repeat the previous step but wait for the spear to reach the 3rd stage before charging
β The same result occurs but the mob correctly takes damage on each hit instead of knockback
Expected result: The spear would consistently apply both knockback and damage when applicable, not one or the other
Actual result: The spear applies one or the other past the first hit
Thank you for your report!
We're tracking this issue in MC-303451, so this ticket is being resolved and linked as a Duplicate.
That ticket has already been resolved as Working as Intended, which means this is not considered a bug and won't be fixed. Please do not leave a comment on the linked ticket.
If you haven't already, please make use of the search feature to see if an issue you are about to report has already been reported.
Quick Links:
π Bug Tracker Guidelines β π¬ Community Support β π§ Mojang Support (Technical Issues) β π§ Microsoft Support (Account Issues)
π Project Summary β βοΈ Feedback and Suggestions β π Game Wiki