mojira.dev
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

Comments 0

No comments.

slicedlime

gnembon

Confirmed

Platform

Normal

Commands, Networking

1.21.4, 25w03a

25w04a

Retrieved