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 1
Attachments
Comments 6
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.
Try removing the redstone signal, and adding it again (aka, block/redstone update)