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

Command blocks do not display command in their UI

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 21w40a
    • 21w37a, 21w38a, 21w39a
    • None
    • Confirmed
    • UI
    • Very Important

      You can enter a command in a command block, but if you click done and reopen the GUI, it does not show the command. The command is still stored in the block though, and it does get executed when the command block is triggered.

      Steps to reproduce

      1. /give @s minecraft:command_block
      2. Place it down and enter a command such as say hello
      3. Click done and reopen the command block. The command text box is empty.
      4. Use /data get block <x> <y> <z> Command and notice that the command is there.
      5. Trigger the command block (e.g. put down a button). The command does get executed.

            boq [Mojang] Bartosz Bok
            JochCool JochCool
            Votes:
            31 Vote for this issue
            Watchers:
            15 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: