Minecraft 1.20 - Check For Items In A Player's Inventory

Channel:
Subscribers:
109,000
Published on ● Video Link: https://www.youtube.com/watch?v=mAtsFzLLh_o



Minecraft
Game:
Minecraft (2011)
Duration: 4:44
95,045 views
1,209


In this video I show you how to check for specific items in a player's inventory, works for version 1.13 to minecraft 1.20!
If you liked this video, please be sure to hit the like button and let me know in the comments why you liked it! If you really love my content, please consider subscribing!

**********************************
How to do this in bedrock edition: https://www.youtube.com/watch?v=_9d9ROOI-CM

This is done by using the execute if entity command in a repeat unconditional always active command block, these are the commands used in the video:

Check for a diamond: /execute if entity @p[nbt={Inventory:[{id:"minecraft:diamond"}]}]

Check for a named diamond: /execute if entity @p[nbt={Inventory:[{id:"minecraft:diamond",tag:{display:{Name:'{"text":"ItemNameHere"}'}}}]}]

Check for a diamond and dirt: execute if entity @p[nbt={Inventory:[{id:"minecraft:diamond"},{id:"minecraft:dirt"}]}]

Subscribe to my channel: http://www.youtube.com/channel/UCzkqOdzxj4wY7BmWdXWueoA?sub_confirmation=1
***********************************
Youtube: https://www.youtube.com/c/MariohierioMariodario
Twitter: https://twitter.com/Mario_Hierio
Instagram: https://www.instagram.com/maxmakesmusic_insta/
***********************************
#minecraft #commands #inventory







Tags:
command
tutorial
execute
inventory
items
minecraft check for item in inventory
minecraft test for item in inventory
minecraft 1.18 detect item in inventory
minecraft detect item in inventory
minecraft item in inventory
Check For Items In A Player's Inventory
minecraft 1.19 detect item in inventory
minecraft 1.19 test for item in inventory
minecraft 1.19 check for item in inventory
minecraft how to detect items in inventory
minecraft 1.19 how to detect items in inventory



Other Statistics

Minecraft Statistics For MaxStuff

There are 18,188,715 views in 1,202 videos for Minecraft. There's over 16 days worth of watchable video for Minecraft published on his channel, or 79.87% of the total watchable video on MaxStuff's YouTube channel.