Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-279653

Block Entity Data desynchronizes after subsequent setblock commands

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 25w04a
    • 1.21.4, 25w03a
    • None
    • Confirmed
    • Commands, Networking
    • Normal
    • Platform

      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

            gnembon [Mojang] Gnembon
            slicedlime [Mojang] slicedlime
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: