Minecraft – Hopper to trigger say command for each item inserted

minecraft-commandsminecraft-java-editionminecraft-redstone

I have a hopper sorting system that is working but the issue is that I want it to trigger a command block per item. I have the command blocks setup and working but it only does it once per stack of items, I want it to do it for each one. How would I do this?<code>Image One</code> Image Two Image Three

Best Answer

You can reset the transfer speed of the entry hopper for each segment (just below the top row of hoppers) so that the comparator has enough time to reduce in strength before the next item passes through. Keep in mind that this will slow down the sorting mechanism by at least 4 game ticks (2 redstone ticks). Image example:

Hopper transfer speed

The command would target the hopper circled in yellow, adjusting coordinates as needed:

/blockdata ~1 ~4 ~ {TransferCooldown:4}