How to test for a dropped item in Minecraft?
Solution 1:
You'll want to do this:
/execute at @e[type=item,nbt={Item:{id:"minecraft:spruce_log"}}] run summon minecraft:pig ~ ~ ~
You'll want to do this:
/execute at @e[type=item,nbt={Item:{id:"minecraft:spruce_log"}}] run summon minecraft:pig ~ ~ ~