You can leash entities in spectator mode
The Bug:
If you leash entities in creative mode, you can then switch to spectator and still be holding the leashed entity
Steps to Reproduce:
- Switch into creative mode, summon a cow, and obtain a lead.
- Attach the cow to the lead that you have.
- Switch into spectator mode and as you do this, take note as to whether the lead is still attached to the cow or not.
Observed Behavior:
Spectators can have leads attached to entities.
Expected Behavior:
Spectators would not be able to have leads attached to entities.
Code Analysis:
Code analysis by Apollo can be found in this comment.
Linked Issues
is duplicated by6
- Unresolved
Cameron H
- 20
- 13
- Confirmed
Low
- Platform
- Items Player
- Spectator
- lead leash mob
1.9 - 25w03a
1.9 1.10.2 16w32a 1.12.1 1.12.2 17w45b 17w46a 17w47a 1.13 18w31a 1.14.4 1.16.1 20w27a 20w28a 1.16.2 1.16.4-pre2 1.16.4 20w46a 20w48a 20w51a 21w03a 21w05b 21w06a 21w07a 21w08b 21w11a 21w13a 21w14a 1.17 1.17.1 21w40a 21w41a 1.18.1 1.18.2 1.19-pre3 1.19 1.19.2 1.20.1 1.20.4 1.21-pre2 1.21-pre4 1.21 24w46a 1.21.4 25w03a
Created Issue:
You leash entities in spectator mode
You can leash entities in spectator mode
relates to
is duplicated by
is duplicated by
If you leash entities in creative mode, you can then switch to spectator and still be holding the leashed entityThe Bug
If you leash entities in creative mode, you can then switch to spectator and still be holding the leashed entity
Steps to Reproduce
- Switch into creative mode, summon a cow, and obtain a lead.
- Attach the cow to the lead that you have.
- Switch into spectator mode and as you do this, take note as to whether the lead is still attached to the cow or not.
Observed Behavior
Spectators can have leads attached to entities.
Expected Behavior
Spectators would not be able to have leads attached to entities.
relates to
The Bug:
If you leash entities in creative mode, you can then switch to spectator and still be holding the leashed entity
Steps to Reproduce:
- Switch into creative mode, summon a cow, and obtain a lead.
- Attach the cow to the lead that you have.
- Switch into spectator mode and as you do this, take note as to whether the lead is still attached to the cow or not.
Observed Behavior:
Spectators can have leads attached to entities.
Expected Behavior:
Spectators would not be able to have leads attached to entities.
Code Analysis:
Code analysis by Apollo can be found in this comment.
is duplicated by
is duplicated by
is duplicated by
is duplicated by
Hi there!
This looks like a duplicate of MC-99785.
Hello! This looks to be a duplicate of MC-99785.
Thank you for your report!
We're tracking this issue in MC-99785, 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 (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
Would MC-99785 describe you're issue?
Thank you for your report!
We're tracking this issue in MC-99785, 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 (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
Thank you for your report!
We're tracking this issue in MC-99785, 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 (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
Thank you for your report!
We're tracking this issue in MC-99785, 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 (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki


This ticket is incomplete. Please review the guidelines before reporting issues.
For technical support please use the Mojang Support Center.
— I am a robot. This action was performed automatically.
Confirmed for
Can confirm for MC 1.12.1. Related to MC-69216.
Affects 18w31a.
Confirmed in 1.16.1 and 20w27a.
Confirmed in 20w28a
Can confirm in 20w48a.
Can confirm in 20w51a.
Can confirm in 21w03a.
Can confirm in 21w05b.
Can confirm in 21w06a.
Video attached.
Requesting ownership as the current reporter has been inactive since 2018
Can confirm in 21w07a.
Can confirm in 21w11a.
Can confirm in 21w13a.
Can confirm in 21w14a.
Can confirm in 1.17.
Can confirm in 1.17.1.
Can confirm this behavior in 21w40a. Here are some extra details regarding this problem.
The Bug:
Spectators can have leads attached to entities.
Steps to Reproduce:
Observed Behavior:
Spectators can have leads attached to entities.
Expected Behavior:
Spectators would not be able to have leads attached to entities.
Can confirm in 21w41a.
Can confirm in 1.18.1.
Can confirm in 1.18.2.
Can confirm in 1.19.
Can confirm in 1.19.2.
Code Analysis:
The following is based on a decompiled version of Minecraft 1.20.1 using MCP-Reborn.
As you can see above, there is no check to see if this#leashHolder is in spectator mode.
Fix:
An easy solution is to add a check if the leashHolder is in spectator. If so, then we should drop the leash.
Can confirm in 1.21 Pre-release 2.