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-117621 Left click when fishing by secondary hand makes the fishing line disconnect to the rod. Resolved MC-120953 Fishing rod line BUG Resolved MC-124541 offhand fishing rod graphics glitch Resolved MC-137363 Fishing rod's animation when in offhand is played on item in main hand Resolved MC-169988 fishing rod Resolved

Attachments

Comments 13

JUE13

Confirmde for 17w17a

Jack McKalling

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

Jack McKalling

Still present in 1.13.2

Hayden Wong

Confirmed for 19w08a and 19w08b.

Leonid

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

 

3 more comments
MMK21

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

MMK21

Affects 1.18.1

Avoma

Can confirm in 1.18.2.

Avoma

Can confirm in 1.19.

Avoma

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.19.4 Pre-release 2, 1.20.1, 1.20.5, 1.21, 1.21.5

Retrieved