No crosshair on some non-living entities in spectator mode
The bug
It is possible to spectate as any type of minecart, a boat, etc, but no crosshair is shown when pointing at them.
Affected entities
- Minecarts
- Boat
- Leash knot
- Ender crystal
- Painting
Code analysis
Code analysis by Marcono1234 can be found in this comment.
Linked Issues
is duplicated by1
- Unresolved
Anon Ymus- 21
- 11
- Confirmed
Low
- Platform
- Camera UI
- Spectator
- boat crosshair knot leash minecart spectate spectator
14w05a - 1.20.3-rc1
14w05a 14w08a 14w10b 14w10c 14w17a 14w18b 14w19a 14w20b 14w21a 14w21b 14w25a 14w25b 14w28b 14w34d 1.8-pre3 1.8 1.8.1-pre5 15w34a 15w34b 15w34c 15w34d 15w47b 1.9.2 16w15a 16w15b 1.9.3-pre2 1.9.4 16w20a 1.10.2 16w43a 1.11 16w50a 1.11.2 17w15a 1.12 1.12.1 1.12.2 17w50a 1.13-pre8 1.13 18w30b 18w31a 18w32a 18w33a 1.13.1-pre1 1.13.1 1.15.2 1.16-rc1 1.16 1.16.1 20w28a 20w30a 1.16.2-pre1 1.16.2-rc1 1.16.2-rc2 1.16.2 1.16.3-rc1 1.16.3 1.16.4-pre1 1.16.4-pre2 1.16.4-rc1 1.16.4 20w46a 20w48a 20w51a 21w03a 1.16.5 21w05a 21w05b 21w06a 21w07a 21w11a 21w13a 21w17a 1.17-pre2 1.18.1 1.19 1.19.1-pre5 1.19.2 22w43a 1.20.1 1.20.3-rc1
Created Issue:
No crosshair on boats, minecarts, or leashes in spectator mode
It is possible to spectate as any type of minecart, a boat, or a leash knot, but no crosshair is shown when pointing at them.
is duplicated by
It is possible to spectate as any type of minecart, a boat, or a leash knot, but no crosshair is shown when pointing at them.
Code analysis by Marcono1234 can be found in this comment .
It is possible to spectate as any type of minecart, a boat,
or a leash knot, but no crosshair is shown when pointing at them.
Code analysis by Marcono1234 can be found in this comment.
The bug
It is possible to spectate as any type of minecart, a boat, etc, but no crosshair is shown when pointing at them.
Affects:
- Minecarts
- Boat
- Leash knot
- Ender crystal
- Painting
Code analysis by Marcono1234 can be found in this comment.
No crosshair onboats, minecarts, or leashes in spectator modeNo crosshair on some non-living entities in spectator mode
The bug
It is possible to spectate as any type of minecart, a boat, etc, but no crosshair is shown when pointing at them.
Affects:
- Minecarts
- Boat
- Leash knot
- Ender crystal
- Painting
Code analysis by Marcono1234 can be found in this comment.
The bug
It is possible to spectate as any type of minecart, a boat, etc, but no crosshair is shown when pointing at them.
Affects:
- Minecarts
- Boat
- Leash knot
- Ender crystal
- Painting
Code analysis by Marcono1234 can be found in this comment.
The bug
It is possible to spectate as any type of minecart, a boat, etc, but no crosshair is shown when pointing at them.
Affects:
- Minecarts
- Boat
- Leash knot
- Ender crystal
- Painting
Code analysis by Marcono1234 can be found in this comment.
The bug
It is possible to spectate as any type of minecart, a boat, etc, but no crosshair is shown when pointing at them.
Affects:
- Minecarts
- Boat
- Leash knot
- Ender crystal
- Painting
Code analysis
Code analysis by Marcono1234 can be found in this comment.
relates to
relates to
The bug
It is possible to spectate as any type of minecart, a boat, etc, but no crosshair is shown when pointing at them.
Affects
:
- Minecarts
- Boat
- Leash knot
- Ender crystal
- Painting
Code analysis
Code analysis by Marcono1234 can be found in this comment.
The bug
It is possible to spectate as any type of minecart, a boat, etc, but no crosshair is shown when pointing at them.
Affected entities
- Minecarts
- Boat
- Leash knot
- Ender crystal
- Painting
Code analysis
Code analysis by Marcono1234 can be found in this comment.
Affects 1.16 Release Candidate 1
Relates to MC-146363
relates to
is blocked by
Dupe of MC-46621
The bug
In previous updates, when looking at most (MC-46621) entities in spectator mode, the crosshair would show up. This is no longer the case. When looking at interactable blocks, the crosshair still shows up.
How to reproduce
- Jump into spectator mode
- Look at an entity of your choice
→
The crosshair doesn't show up
Example
Here is an example in video: The cursor is no longer displayed when you point a mob in spectator mode.mp4![]()
Same cause as for MC-46621. Note that this is now the method Entity.isPickable() (20w10a Mojang name) which controlls whether an entity is considered a hit result (though it is also used for other purposes).
Confirmed for 14w10c, but we shouldn't be able to spectate them.
Confirmed for 14w18b.
Confirmed for 14w19a
Confirmed for 14w21b.
Confirmed for 14w25a and b.
Confirmed for 1.8.
Confirmed for 1.8.1-pre5.
Confirmed for 15w47b
Confirmed for 16w15a and 16w15b
Please link to this comment in the description
The following is based on decompiled version of Minecraft 1.9 using MCP 9.24 beta. All method and class names are the names used in the decompiled version.
The reason why this happens is because the method net.minecraft.client.renderer.EntityRenderer.getMouseOver(float) only sets the field net.minecraft.client.Minecraft.pointedEntity to the value of the field net.minecraft.client.renderer.EntityRenderer.pointedEntity if this.pointedEntity instanceof EntityLivingBase || this.pointedEntity instanceof EntityItemFrame. However the player can spectate all entities that are valid values for net.minecraft.client.renderer.EntityRenderer.pointedEntity. Removing this requirement should solve the problem.
Confirm for 1.9.3 pre-2
Confirmed for 1.9.4
Confirmed for 16w20a
Confirmed for 17w15a.
Also crosshair does not appear on Ender crystals and painting.
Confirmed for 1.13-pre8
Confirmed for 1.13
Confirmed for 18w30b
Confirmed for 18w31a
Confirmed for 18w32a
Confirmed for 18w33a
Confirmed for 1.13.1-pre1
Can confirm in 20w51a.
Can confirm in 21w13a.
Can confirm in 21w17a.
Can confirm in 1.18.1.
Can confirm in 1.19.
Confirmed for 1.19.1 pre-release 5.
This is currently blocked by MC-146363
Can confirm in 1.19.2.