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

No message in chat when some commands execute in command block

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • Minecraft 1.13-pre6, Minecraft 1.13, Minecraft 18w30b, Minecraft 1.13.1, Minecraft 1.14, 1.14.4, 19w44a, 1.15.2, 20w19a, 20w49a, 20w51a, 21w03a, 21w06a, 1.17.1, 1.19.3, 23w05a, 1.20.1, 23w35a
    • None
    • Confirmed
    • Commands

      The bug

      The command block does not output some execution results into chat bar.

      For example, use a command block to execute

      /time query gametime
      or
      / data get entity @p

      There are no results in the player's chat bar, the results only can be viewed in the command block.

      There is no such problem in 1.12, starting from 1.13.

      One effect is that we cannot use the command block to test the timing of redstone circuit, because the message of time query doesn't display in chat.

      How to reproduce

      1. Ensure the gamerules commandBlockOutput and sendCommandFeedback are enabled:
        /gamerule commandBlockOutput true
        /gamerule sendCommandFeedback true
      2. Enter the following command into an impulse command block:
        /time query gametime
      3. Activate the command block
        No message is displayed in chat

      Expected behavior

      The following message should appear in chat:

      [@: The time is ...]

      This was the observed behavior prior to 1.13.

            Unassigned Unassigned
            Chixvv Dl
            Votes:
            4 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              CHK: