Switching to spectator mode while fishing keeps rod cast
The Bug
When holding a cast fishing rod when switching to spectator mode, the rod remains cast.
Steps to Reproduce
- Obtain a fishing rod and cast it.
- Switch into spectator mode.
- Take note as to whether or not fishing rods remain cast when switching into spectator mode.
Observed Behavior
Fishing rods remain cast when switching into spectator mode.
Expected Behavior
Fishing rods would not remain cast when switching into spectator mode.
Code Analysis
Code analysis by [Mod] bemoty can be found in this comment.
Linked Issues
is duplicated by2
relates to14
- Unresolved
[Helper] Lord_QuadratoAJ Ruckman
- 29
- 17
- Confirmed
Low
- Platform
- Player
- Spectator
- casting fishing_rod game-mode-switch spectator use-item
1.8-pre1 - 25w02a
1.8-pre1 1.8.8 15w32c 1.8.9 16w04a 1.9.1 1.9.2 16w14a 1.10.2 16w42a 16w43a 1.11 16w50a 1.11.2 17w06a 1.12 1.12.1-pre1 1.12.1 1.12.2 17w50a 18w08b 18w20c 18w22c 1.13-pre1 1.13-pre2 1.13-pre3 1.13-pre4 1.13-pre5 1.13-pre6 1.13-pre7 1.13-pre8 1.13-pre9 1.13-pre10 1.13 18w30b 18w31a 18w32a 1.13.1-pre1 1.13.1-pre2 1.13.1 1.13.2-pre1 1.13.2-pre2 1.13.2 18w43a 18w43b 18w43c 18w44a 18w47a 18w47b 18w48a 18w48b 18w49a 18w50a 19w02a 19w03a 19w03c 19w04b 19w12b 19w13b 19w14a 1.14-pre2 1.14-pre3 1.14.3 1.14.4-pre5 1.14.4 19w40a 1.15-pre6 1.15.1 1.15.2-pre2 1.15.2 20w11a 20w17a 20w20b 20w21a 20w22a 1.16-pre2 1.16.1 20w30a 1.16.2 1.16.3 1.16.4-pre2 20w46a 20w51a 21w03a 1.16.5 21w05b 21w06a 21w07a 21w08b 21w17a 1.17 1.17.1 21w41a 21w42a 1.18.1 1.18.2 1.19-pre1 1.19 1.19.2 1.19.3 1.20.1 1.20.3-rc1 1.20.4 1.20.5 1.21 1.21.4 25w02a
Created Issue:
Switching to spectator mode while fishing keeps rod cast
When holding a cast fishing rod when switching to spectator mode, the rod remains cast.
Environment
Windows 8.1, Java 7 64 bit
is duplicated by
When holding a cast fishing rod when switching to spectator mode, the rod remains cast.
When holding a cast fishing rod when switching to spectator mode, the rod remains cast.
—
Code analysis by [Mod] bemoty can be found in this comment .
When holding a cast fishing rod when switching to spectator mode, the rod remains cast.
—
Code analysis by [Mod] bemoty can be found in this comment .When holding a cast fishing rod when switching to spectator mode, the rod remains cast.
Code analysis by [Mod] bemoty can be found in this comment .
relates to
When holding a cast fishing rod when switching to spectator mode, the rod remains cast.
Code analysis by [Mod] bemoty can be found in this comment.
The bug
When holding a cast fishing rod when switching to spectator mode, the rod remains cast.
Code analysis
Code analysis by [Mod] bemoty can be found in this comment.
Still in 1.13-pre4
Affects 1.13-pre1
Confirmed for 18w22c
Reproduced in 18w20c
Confirmed for 1.13-pre2
Still in 1.13-pre3
relates to
relates to
relates to
relates to
relates to
relates to
The
bugWhen holding a cast fishing rod when switching to spectator mode, the rod remains cast.
Code
analysisCode analysis by [Mod] bemoty can be found in this comment.
The Bug
When holding a cast fishing rod when switching to spectator mode, the rod remains cast.
Steps to Reproduce
- Obtain a fishing rod and cast it.
- Switch into spectator mode.
- Take note as to whether or not fishing rods remain cast when switching into spectator mode.
Observed Behavior
Fishing rods remain cast when switching into spectator mode.
Expected Behavior
Fishing rods would not remain cast when switching into spectator mode.
Code Analysis
Code analysis by [Mod] bemoty can be found in this comment.
is duplicated by
relates to
Can confirm for MC 1.12.1. Related to MC-69216.
Thank you for your report!
We're tracking this issue in MC-69216, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
– I am a bot. This action was performed automatically! The ticket was resolved by one of our moderators, and I left this message to give more information to you.
When a player has a fishing rod bobber hooked onto them, and they change their gamemode to spectator, a desync occurs between the client and server resulting in the hooked player still seeing the hook on them, but the player who cast the rod seeing the bobber disconnected, laying on the ground. The player who used the fishing rod is still able to pull the hooked player as expected, despite the bobber not being connected to them.
Steps to Reproduce:
(Requires Multiplayer/LAN and two player)
- Player 1 hooks player 2 with a fishing rod
- Player 2 Changes their gamemode to spectator
- Player 2 Changes back to their previous gamemode
- Player 1 hooks player 2
Observed & Expected Results:
- Despite the bobber being completely detatched from player 2, player 1 will still be able to pull them with the rod.
- The bobber would either not detatch and follow the spectator, OR it would turn invisible until player 2 has changed into the previous gamemode. Either option, the bobber would be attached to the player still.
Screenshots/Videos:
Notes:
This is not MC-69216, that issue occurs when the player who casts the rod changes their gamemode, where in this issue the player who is hooked changes their gamemode.

Confirmed.
Confirmed for 1.11.2
The following is based on a decompiled version of Minecraft 1.12 using MCP 9.40pre-1. (By the way, 1.12 should be marked as affected here)
The method net.minecraft.entity.player.EntityPlayerMP.setGameType() doesn't invoke the method net.minecraft.entity.player.EntityPlayerMP.fishEntity.handleHookRetraction() which removes the fish hook entity from the player's world and returns the amount of damage which should be applied to the fishing rod after its retraction.
A simple solution to this issue would be to add this specific method invocation to the setGameType() method.
if(this.fishEntity != null) checks if the player has casted a fish hook. Without this If-statement the game would throw a NullPointerException because it obviously can't remove a fishEntity that doesn't exist.
Can confirm in 20w51a.
Can confirm in 21w03a.
Can confirm in 21w05b.
Can confirm in 21w06a.
Can confirm in 21w07a. Video attached.
Can confirm in 1.16.5 and 21w08b.
Can confirm in 21w17a.
Can confirm in 1.17.1.
I am able to confirm this behavior in 21w41a. Here are some extra details regarding this problem.
The Bug:
Fishing rods remain cast when switching into spectator mode.
Steps to Reproduce:
Observed Behavior:
Fishing rods remain cast when switching into spectator mode.
Expected Behavior:
Fishing rods would not remain cast when switching into spectator mode.
Can confirm for 21w42a.
When going to spectator the rods remain cast, also when left clicking you can still see the swing animation in the wire of the rod.
Also the sound that you have a fish hanging on the rod can still play.
Affects 1.18.1
Can confirm in 1.18.2.
Can confirm in 1.19.
Can confirm in 1.19.2.