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.

Related issues

MC-134866 Slabs and stairs disappear when placed quickly under falling sand. MC-172549 Block Disapears When placed in Front of Walking Mob MC-190858 Blocks disappear upon placing MC-191288 placeing blocks when chased by baby zombie sometimes makes blocks disapear MC-194934 Game just "ate" my fence gate? MC-203389 Anvil vanishes if a entity walks past as you place MC-206767 Item disappearing and reappearing MC-210938 Blocks disappearing when the area you place them in is obstructed MC-228777 Beds despawning upon placement (under certain conditions) MC-228916 Placing a block in an entity causes that block to disappear until you re enter the world MC-233349 Fence gate disappears when placed where a mob is walking MC-233662 When placing fence inbetween two other fences as an animal is running inbetween them, nothing will be placed, yet the two other fences will extend as if the fence was actually placed MC-235552 Fence holds on to nothing MC-242351 Cave spider hitting through blocks MC-258770 When a mob walks infront of a block, block disappears MC-259934 Blocks disappear when an entity comes in a short window after you place it MC-260520 A small visual bug MC-261068 Shulker Box disappears after placing on a Wolf MC-261474 Block destroying itself if entity hitbox collides with it if placed MC-261844 Bell disappears if mob walk onto block when you place bell on said block MC-264421 Lectern disappears when placing and there is a villager in the block MC-265163 Block disappears after placing as Villager walks in the same spot MC-267139 Mobs destroy blocks whenever you place a block where they are walking. MC-267884 Lectern becomes invisible in inventory MC-271505 When a block is placed in front of an armadillo with a 45° incline, it disappears MC-271960 Blocks disappear when placed if mob walks on the same block MC-273111 vanishing blocks MC-295912 Blocks enter a weird limbo state if entities enter the area they are placed almost instantly. MC-296338 Blocks disappearing when placed. MC-298050 bug (block disappearance)

Attachments

Comments

migrated
[media]
violine1101

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

pulpetti

In 20w28a

migrated

Duplicate of MC-95720

migrated

This also happened to me in singleplayer 1.17.

migrated

To clarify:

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

Brain81505

Can confirm in 1.19.4

migrated

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

Tabor Armando O'Brien Whitehead

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

migrated

(Unassigned)

Confirmed

Platform

Normal

Networking

Minecraft 1.13, Minecraft 18w43c, Minecraft 18w48b, Minecraft 19w04b, 1.14.4, ..., 1.20.3 Release Candidate 1, 1.20.4, 1.20.6, 1.21.4, 1.21.5

Retrieved