Mojira Archive
MC-279653

Block Entity Data desynchronizes after subsequent setblock commands

Doing two or more subsequent setblock commands on the same position when that position contains a block entity desynchronizes that block entity, if the end result is a new block entity of the same type.

Repro steps:

  • Place a command block facing east with the command: setblock ~ ~1 ~ air
  • Place a chain command block following it with the command: setblock ~-1 ~1 ~ player_head
  • Stand on top of the command block and run: /setblock ~ ~ ~ player_head {profile:slicedlime}
  • Activate the command block
  • Observe the player head

Results:

  • The player head remains the same profile
  • Relogging re-synchronizes the state

Expected results:

  • The player head switches to the default profile without needing to relog

Fixed

[Mojang] slicedlime

[Mojang] Gnembon

2025-01-20, 09:27 AM

2025-01-22, 11:00 AM

2025-01-22, 11:00 AM

1

2

Confirmed

Normal

Platform

Commands, Networking

1.21.4, 25w03a

25w04a