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

If a Command Block replaces itself with a block entity, the block will not have its properties applied until the world is reloaded

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.19 Pre-release 4, 1.19 Pre-release 5, 1.19 Release Candidate 2, 1.19, 22w24a, 1.19.1 Pre-release 1, 1.19.1 Release Candidate 1, 1.19.1 Pre-release 2, 1.19.1 Pre-release 3, 1.19.1 Pre-release 4, 1.19.1 Pre-release 5, 1.19.1 Pre-release 6, 1.19.1 Release Candidate 2, 1.19.1 Release Candidate 3, 1.19.1, 1.19.2 Release Candidate 1, 1.19.2, 22w42a, 22w43a, 22w44a, 22w45a, 22w46a, 1.19.3 Pre-release 1, 1.19.3 Pre-release 2, 1.19.3 Pre-release 3, 1.19.3 Release Candidate 1, 1.19.3 Release Candidate 2, 1.19.3, 23w03a, 23w04a, 23w05a, 23w06a, 23w07a, 1.19.4 Pre-release 1, 1.19.4 Pre-release 2, 1.19.4 Pre-release 3, 1.19.4 Pre-release 4, 1.19.4 Release Candidate 1, 1.19.4 Release Candidate 2, 1.19.4 Release Candidate 3, 1.19.4, 23w12a, 23w13a, 23w14a, 23w16a, 23w17a, 23w18a, 1.20 Pre-release 1, 1.20 Pre-release 2, 1.20 Pre-release 4, 1.20 Pre-release 5, 1.20 Pre-release 6, 1.20 Pre-release 7, 1.20 Release Candidate 1, 1.20, 1.20.1 Release Candidate 1, 1.20.1, 23w33a, 1.20.2, 1.20.4, 24w12a, 1.20.6, 1.21.1, 1.21.3, 24w46a
    • Confirmed
    • Block states, Networking
    • Normal
    • Platform

      The bug

      If you place a Command Block that instantly replace itself with a Sign with text, the Sign's text will not appear until the world is reloaded.

      This started happening since 22w11a, it affects all block entities, not just signs.

      How to reproduce MC-252368.mp4

      1. Use this command:
        /give @p command_block[block_entity_data={id:command_block,Command:"/setblock ~ ~ ~ oak_sign{front_text:{messages:['\"\"','\"\"','\":D\"','\"\"']}} replace",auto:1b}]
      2. Place the Command Block (a Sign will replace it)
        See if the Sign has text or not. If not, reload the world and watch it again

            Unassigned Unassigned
            SoloAlguien Solo Alguien
            Votes:
            9 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              CHK: