mojira.dev
MC-313223

Client-server desync: fence item consumed but block not placed near an entity

Brief description of the problem:

Placing a fence into a position occupied by an entity (a chicken) fails on the server side, but the item is still consumed by the client and does not return.

Steps to reproduce:

  1. Create a new vanilla world. Place a fence next to chickens so they can walk into its block space.

  2. Break the fence block.

  3. Wait a couple of seconds while the chickens walk into the empty block space.

  4. Try to place the same fence block back into that exact position while a chicken is standing in or passing through it.

  5. Repeat several times — the bug is intermittent and does not happen on every attempt.

Expected result:

Either the block places successfully, or the placement is rejected and the item remains in the inventory.

Actual result:

The block does not place, but the fence item is consumed and disappears from the inventory. It does not return after relogging.

Environment

Minecraft Java Edition 26.4 Snapshot 8, Windows, Singleplayer, no mods.

Linked issues

Comments 1

Thank you for your report!
We're tracking this issue in MC-163637, 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, please make use of the search feature to see if an issue you are about to report has already been reported.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

MisterCosmos

(Unassigned)

Unconfirmed

26.4 Snapshot 8

Retrieved