First, you need to /give yourself a command block. If you don’t know how to, check out my post Minecraft Command /give. If you want to give yourself a command block, type /give @p command_block.

You have been given a command block!

After you done that, place it down.

Then go into it, (just like a crafting table or furnace, right click.)
Turn the impulse to repeat and needs redstone to always active.

Then type in, testfor @e[type=item]

Testfor @e[type=item]

Now go out of the screen, and throw the command block out!

You should see this.

Now collect the command block back.

Then get a redstone comparator.

Comparator

Stand on the command block and place the comparator in any direction.

Placed comparator

On the side that it only has one of those red things, place another command block.

Another command block!

Then after that, go into the command block.

After that, type in /title YOUR GAMERTAG title Item Detected!

Get outside of the command block.

And in the chat, type /gamerule commandblockoutput false

That will make it so that you cannot see the outputs of a command block. now throw any item out.

And done!

Leave a Reply

This Site Uses WPStatistics!

WPStatistics is a site view tracker that is GDPR, CCPA, PECR, and cookie compliance by default.