25: Detect items on the floor [Minecraft Map Making]

Subscribers:
4,230
Published on ● Video Link: https://www.youtube.com/watch?v=Aj1ZXHHiCtQ



Minecraft
Game:
Minecraft (2011)
Duration: 9:00
177 views
8


Ep25: Detecting items on the floor.

Originally for Udemy, but uploaded here.
Commands, builds and ideas for people making their own Minecraft maps.

Check out my collabs on Coppit's channel: https://www.youtube.com/c/CoppitJ

Join the server I play on and the Discord where I hang out.
Server IP: 51.81.246.145:25588
Discord: https://discord.gg/KNSmPWdnfG

Udemy notes. YouTube formatting may make some of these wrong. :)

Commands used:
Detect the lime wool entity on the floor at coordinates:
execute at @e if entity @e[type=item,x=-26.5,y=56,z=37.5,distance=0..0.5,nbt={OnGround:1b,Item:{id:"minecraft:lime_wool"}}] run say Lime Wool entity is on the Lime Block.

Detect one tagged red wool anywhere on the ground in loaded chunks:
execute at @e if entity @e[type=item,nbt={OnGround:1b,Item:{id:"minecraft:red_wool",tag:{myWool:1b}}}] run say Found!

Detect two tagged red wool anywhere on the ground in loaded chunks:
execute at @e if entity @e[type=item,nbt={OnGround:1b,Item:{id:"minecraft:red_wool",Count:2b,tag:{myWool:1b}}}] run say Found!

Give the player a tagged red wool:
give @p red_wool{myWool:1b}







Tags:
minecraft
adventure map
map making
commands
command blocks
1.16
1.17
1.18
custom commands
redstone
map ideas
map suggesstions
custom maps



Other Statistics

Minecraft Statistics For Infernal Device

At present, Infernal Device has 184,447 views spread across 877 videos for Minecraft, accounting for over 10 days of watchable video on his channel. This is 94.82% of the total watchable video for Minecraft on Infernal Device's YouTube channel.