When you try to detect wool using detect (after execute) in a repeating command block, the next command is not run.
the command I used was this:
/execute @a ~ ~ ~ detect ~ ~-1 ~ wool 1 /summon Cow
when putting this in a repeating command block, no cows are summoned while standing on orange wool, but when the command is run in chat, a cow appears if you are standing on white wool.
Linked issues
duplicates
Attachments
Comments
You are trying to detect a minecraft:wool
with data value 1, which refers to orange wool. To detect white wool, use /execute @a ~ ~ ~ detect ~ ~-1 ~ wool 0 /summon Cow
.
sorry null, white was a typo, I put that in because I tested white first, but changed to orange for further testing and the command.
FVbico, updating the command block worked, but is it a bug that the command block did not automatically detect redstone power?
Yes, see MC-18631.
Thanks, but now that I'm thinking about it, filling a space with commandblock using /fill would cause a lot of lag, even if it just tested for power when it is placed. (all the block updates looking for power)
Try removing the redstone signal, and adding it again (aka, block/redstone update)