mojira.dev
MC-302820

The charge attack of spear sometimes can't hit the entities

  • Steps to reproduce the issue

  1. Spawn different entities

  2. 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

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

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

Kolleen

(Unassigned)

Unconfirmed

(Unassigned)

25w41a

Retrieved