mojira.dev

Kolleen

Assigned

No issues.

Reported

MC-302830 Charge attack with spear on offhand can trigger the wind burst enchantment of mace on mainhaind Duplicate MC-302825 The charging animations of some items are incorrect Confirmed MC-302820 The charge attack of spear sometimes can't hit the entities Duplicate MC-302817 Spears with Fire Aspect can ignite victims even when the attacks are blocked Fixed MC-302795 Switching to a spear while attacking will cause damage from a greater distance Duplicate

Comments

Can confirm in 25w42a

Oh what am I saying… I mean
Can confirm in 25w42a

Can confirm in 25w41a

[media: QQ20251014-183215.mp4]

[media: QQ20251014-182249.mp4]

Besides, the title description seems not quite accurate. The enchantment used during the attack is indeed that of the current item. The main mistake lies in the fact that attributes and attack charges were not updated in a timely manner.

Perhaps it is necessary to add the spear to the bug description as well. When switching from a sword to a spear, it can deal sword damage at a greater distance. This will be more broken than the previous mace because the cost of the spear is very low.

This is because the NoAI entities have velocity but don’t move. You can try /data get entity xxx Motion

[media: QQ20251010-141455.mp4]

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

Can confirm in 25w41a