Determine Minecraft item type from entity or inventory?
- In the top left command block:
fill ~ ~-1 ~ ~ ~-1 ~ wool 14
- In the bottom left command block:
fill ~ ~1 ~ ~ ~1 ~ redstone_block
- In the center-left command block:
testforblocks ~ ~-1 ~ ~ ~-1 ~ [x2] [y2] [z2]
where[x2]
[y2]
and[z2]
are the coordinates of the target dropper.
The dropper on the top is completely unnecessary and is only there because I used this in a tutorial. In the far right command block would be the command you want executed when the two droppers match.