-
Bug
-
Resolution: Fixed
-
Minecraft 1.10.2, Minecraft 16w36a, Minecraft 16w38a, Minecraft 16w39a, Minecraft 16w39b, Minecraft 16w39c, Minecraft 16w40a, Minecraft 16w41a, Minecraft 16w42a, Minecraft 16w43a, Minecraft 16w44a, Minecraft 1.11 Pre-Release 1, Minecraft 1.11, Minecraft 16w50a, Minecraft 1.11.1, Minecraft 1.11.2, Minecraft 17w06a, Minecraft 17w13b, Minecraft 17w15a, Minecraft 17w16b, Minecraft 17w17a, Minecraft 17w17b, Minecraft 17w18a, Minecraft 1.12 Pre-Release 2, Minecraft 1.12 Pre-Release 3, Minecraft 1.12 Pre-Release 4, Minecraft 1.12 Pre-Release 5, Minecraft 1.12 Pre-Release 6, Minecraft 1.12 Pre-Release 7, Minecraft 1.12, Minecraft 1.12.1, Minecraft 1.12.2 Pre-Release 1, Minecraft 1.12.2 Pre-Release 2, Minecraft 1.12.2, Minecraft 17w43a, Minecraft 17w43b, Minecraft 17w45b, Minecraft 17w46a, Minecraft 17w48a, Minecraft 18w01a, Minecraft 18w03b, Minecraft 18w15a, Minecraft 18w22a, Minecraft 18w22c, Minecraft 1.13-pre1, Minecraft 1.13-pre2, Minecraft 1.13-pre3, Minecraft 1.13-pre5, Minecraft 1.13-pre6, Minecraft 1.13, Minecraft 1.13.1, 1.14.4, 1.15.1, 20w06a, 20w07a
-
Confirmed
-
Entities
The bug
Trying to interact with an entity which is 3 or more blocks away without seeing its eyes only causes the interaction to happen only client-side. This can lead to ghost items or other weird behavior.
Example interactions
Interaction | Result |
---|---|
Using a Name tag on a mob | The mob is named for client, but it can despawn, commands won't find it by the name, and the name disappears after a re-log. The name tag disappears from the inventory (survival) and returns back if you update the slot it was in |
Using a Flint and Steel on a creeper | Sound of igniting the entity |
Milking a cow or a mooshroom ( |
Ghost buckets of milk that become empty buckets if you update them |
Shearing a mooshroom | Mooshroom disappears until you re-log in |
Trying to ride a horse / llama | Player is only rotated |
How to reproduce (horse)
- Summon a horse
- Make sure you are three or more blocks away from it and that you cannot see its eyes
- Right click the horse
→ The rotation of the horse is applied to you but you did not mount the horse
How to reproduce (name tag)
Creepers in bug.png represent 3 cases (from left to right) in which the mob is behind (glass) blocks.
- In the 1st and the 2nd case you should stand on sandstone blocks or top of sandstone stairs to reproduce the bug.
- In the 3rd case you should be at least 2.625 blocks higher than the mob (0.625 = 6 snow layers) and 1 block away from it
Code analysis
Based on 1.11.2 decompiled using MCP 9.35 rc1
The method net.minecraft.network.NetHandlerPlayServer.processUseEntity(CPacketUseEntity) requires the player to see the eyes of the entity (method EntityLivingBase.canEntityBeSeen(Entity)). This check might make no sense because you are not always trying to interact with the head of an entity.
- is duplicated by
-
MC-94008 Milk buckets restack after milking while standing on a ladder
- Resolved
-
MC-105844 Creeper specific despawning when named with a nametag?
- Resolved
-
MC-107089 /kill @e[name=...] not targeting newly named mobs
- Resolved
-
MC-107305 Named mobs always despawn in all conditions
- Resolved
-
MC-111852 Named Villager Zombie Despawning
- Resolved
-
MC-114258 Unable to perminently name ghast
- Resolved
-
MC-118185 Trying to interact with entity 3 or more blocks away without seeing its eyes only interacts client-side
- Resolved
-
MC-156967 Sheep unable to retain their color
- Resolved
-
MC-158471 Nametags don't apply to Ghasts in Minecarts while Ghast eye-level is blocked
- Resolved
-
MC-169617 Name tagged hostile mobs despawning; Name Tag duplicating
- Resolved
-
MC-172359 Named mobs lose their nametags upon reloading/switching dimensions
- Resolved
-
MC-175339 Dyed sheeps drops white wool and regrows white after eating grass
- Resolved
- relates to
-
MC-95720 client-/server-desync on seemingly invalid block placement
- Open
-
MC-12363 Lava / water / powder snow bucket desync when using it while rapidly turning
- Resolved
-
MC-27535 Mobs can sometimes still despawn, even if named with a name tag
- Resolved
-
MC-79925 null hitResult when no entity or block is in focus while looking through blocks without the ray trace intersecting the blocks themselves
- Resolved
-
MC-88230 When feeding a tamed horse or llama with a golden apple/carrot or hay bale, the cursor moves to the right
- Resolved