Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-65746

Command blocks give output for some commands even when output is disabled

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.20.10.20 Preview, 1.19.80.21 Preview, 1.17.40.23 Beta, 1.17.40.21 Beta, 1.17.20.20 Beta, 1.16.100.54 Beta, 1.16.0.63 Beta, 1.14.30 Hotfix, 1.16.0, 1.16.1, 1.16.40 Hotfix, 1.16.201 Hotfix, 1.17.2 Hotfix, 1.17.30, 1.17.32, 1.19.10, 1.19.20, 1.19.70
    • None
    • Confirmed
    • Multiple
    • 410001

      The bug

      Even when the commandBlockOutput gamerule is disabled, a few commands give output anyway when run from a command block.

      Affected commands:

      • /give
      • /tp
      • /gamemode

      How to reproduce

      1. /gamerule commandBlockOutput false
      2. Place a command block with the command /summon cow
      3. Power it
      No output in chat
      4. Change the command to /give @p apple
      5. Power it
      Output "You have been given Apple * 1" in chat

      Workaround

      It is possible to suppress these messages by disabling sendCommandFeedback, but that gamerule disables output when running commands from chat. It should not affect command blocks. The most often desired situation is to hide all command block output, but keep chat output. This is currently not possible because of this bug.

            tryashtar [Mod] tryashtar
            Votes:
            7 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              CHK: