mojira.dev
MC-116379

Punching with a cast fishing rod in the off-hand detaches fishing line from rod

The bug

When you punch the air with an item in the main hand and a cast fishing rod in the off-hand, the main hand (item) makes a punch animation as expected, but the off-hand (item) shouldn't move. As the rod itself remains still as expected, the cast fishing line of the rod in the off-hand moves strangely up and down the length of the rod.

It appears as if the fishing line thinks its rod is being used to punch, but it isn't as it is in the off-hand. The fishing line makes a similar movement to as if the rod were indeed in the punching hand. In the attached image you can see the the fishing line has moved down the rod while my main hand is punching something (and is at this point because of that just outside my view).

How to reproduce:

  1. Put any fishing rod in the off-hand

  2. Right-click to cast the line

  3. Left-click to punch in the air
    ❌ notice how the off-hand and the rod in it don't animate, but its fishing line does

Code analysis

Code analysis by @unknown can be found in this comment.

Linked issues

MC-295650 Fishing rod line plays animations with main-hand item when fishing rod is in offhand Resolved MC-273650 Lines of off-hand fishing rods stretch when they shouldn't Resolved MC-260017 Fishing rod string - visual Bug. Resolved MC-238169 Fishing rod animation working wrong Resolved MC-223087 Fishing line doesn't show correctly while using rod in left hand Resolved

Attachments

Comments 13

Confirmde for 17w17a

Replaced screenshot with new one without resource pack, my apologies. Screenshot taken in 1.12.2.

Still present in 1.13.2

Confirmed for 19w08a and 19w08b.

In 1.16 Release Candidate-1 It now moves up no matter which hand is it in.

 

3 more comments

Affects 1.18. Right-clicks that cause a hand action are also effected.

Can confirm in 1.18.2.

Can confirm in 1.19.

Can confirm in 1.19.2.

Jack McKalling

(Unassigned)

Confirmed

Gameplay

Low

Items

fishing-line, fishing_rod, off-hand

Minecraft 1.11.2, Minecraft 17w17a, Minecraft 1.12 Pre-Release 7, Minecraft 1.12.2, Minecraft 1.13.1, ..., 1.20.1, 1.20.5, 1.21, 1.21.5, 1.21.7

Retrieved