mojira.dev
MC-163637

Client-server desync when an entity passes through the spot where the player is trying to place a block

The bug

When placing a block in a spot that an entity is just passing through, the block disappears after being placed, but the player's inventory is not updated properly. A desync occurs when the player tries to place a block at a location where an entity is just passing through it.

Original description

On 1.14.4 I've noticed an issue where if a block is placed the exact moment that an npc walks into the area you are trying to place in the item will disappear. The item will not be returned to the player's inventory, it'll just vanish completely.

This has happened around 3 times, all these occurring when I try and place a lectern and a pesky villager walks onto the area I'm trying to place in.

Unfortunately I don't have any logs for extra information but I hope this was helpful in some way.

Linked issues

MC-295912 Blocks enter a weird limbo state if entities enter the area they are placed almost instantly. Resolved MC-296338 Blocks disappearing when placed. Resolved MC-273111 vanishing blocks Resolved MC-271960 Blocks disappear when placed if mob walks on the same block Resolved MC-271505 When a block is placed in front of an armadillo with a 45° incline, it disappears Resolved

Attachments

Comments 8

Can confirm. Can't believe I can't find an earlier ticket about this.

This also happened to me in singleplayer 1.17.

To clarify:

The block does not disappear completely, it's just a client side desync

Can confirm in 1.19.4

It is still in your inventory, just click on all of the empty spots till it shows up. This has also happened to me.

This is happening to me. And I lose my precious blocks 😭.

Christian Croxford

(Unassigned)

Confirmed

Platform

Normal

Networking

Minecraft 1.13, Minecraft 18w43c, Minecraft 18w48b, Minecraft 19w04b, 1.14.4, ..., 1.20.4, 1.20.6, 1.21.4, 1.21.5, 1.21.8

Retrieved