mojira.dev
MC-63831

Command blocks placed on redstone block using /setblock with 'Command' datatag not activating command on placement

Command blocks placed on redstone block using /setblock with 'Command' datatag not activating command on placement.
I used the following command:

/setblock 134 64 -182 command_block 0 replace {Command:/fill ~ ~ ~ ~1 ~1 ~1 stained_hardened_clay}

The command block is placed on a redstone block and should have activated on placement. It needs a block update to work, like having something placed next to it or something.

To reproduce this bug:
1. Use /setblock to place a command block. It should have the 'Command' datatag and a regular command inserted there.
2. Have the /setblock command place the command block on top of a redstone block.
3. Place a block next to it to make it activate.

Related issues

Attachments

Comments

migrated
[media][media]
qmagnet

Confirmed. Although likely works as intended. Looking at the output, no command has been activated.

Jake Miller

Yes Galaxy_2Alex, I re-tried this bug on 22/12/14 using version 1.8.2 pre-1 and it is still a bug. The bug also happens when placing pre-programmed command blocks using /give.

Jake Miller

(Unassigned)

Unconfirmed

Minecraft 14w30c, Minecraft 1.8.2-pre1

Retrieved