make a dummy score then make a clock with the command /scoreboard players "/set @e[type=Item] dummy {Item:{id:"minecraft:tnt"}} 1"
the clock will give any items with matching data a score of 1 for dummy. summon a tnt at the item with a score with "/execute @e[score_dummy_min=1] ~ ~ ~ /summon PrimedTnt"
Is there any tags that can do this?
My avatar is not made by ThePiDay, but I'm too lazy to remove this link so it can stay he
the clock will give any items with matching data a score of 1 for dummy. summon a tnt at the item with a score with "/execute @e[score_dummy_min=1] ~ ~ ~ /summon PrimedTnt"