Steps to reproduce the issue
Spawn different entities
Use a spear to attack them with charge attack
Expected result
Charge attack should damage the victim
Actual result
The charge attacks make noises but they donβt deal damage
Linked issues
Attachments
Comments 2
Hi!
Thank you for your report!
We're already tracking this issue at MC-302768, so I will resolve and link this ticket as a Duplicate.
I suggest also browsing through the main issue for potential fixes.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
Quick Links:
π Issue Guidelines β π¬ Mojang Support β π§ Suggestions β π Minecraft Wiki
I've found the reason. Entities with the NoAI tag will accumulate speed but will not make actual movements. This leads to the continuous accumulation of the entity's speed. Higher damage can be dealt in the direction where the entity's speed is directly opposite (even the attacker can deal damage without moving), while lower damage is dealt in the direction where the speed is opposite