mojira.dev
MC-302984

Holding a spear in the off hand and attacking an entity adds the spear's attack damage to the attack

The Bug


Currently, the spear applies its weapon modifier for attack damage in both hands, meaning that if you were to, say, put a spear in your off hand, it would deal extra damage. This would not apply if the main hand weapon was a sword (as an example) most of the time since the modifiers conflict.

Steps to reproduce the issue


Step 1. Hold a netherite spear

Step 2. Swap it to the off-hand

Step 3. Attack an entity with your fist

Step 4. Notice it does 5 damage to the entity

Expected result


The fist should deal 1 damage in spite of the spear being in the off-hand

Actual result


The fist does 5 damage to the entity

Linked issues

Comments 2

Uhm, this might be because of the attribute swapping bug

Despite claimed fix, still happens in 25w42a.

Rachel Arevalo

(Unassigned)

1499688

Confirmed

Expansion A

Very Important

(Unassigned)

25w41a, 25w42a

25w42a

Retrieved