Mojira Archive
MCPE-65746

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

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.