Test whether arrow on floor 1.8?

gl
2

How can you test in Minecraft 1.8 whether an arrow is on the ground or hitting a player and then generate a TNT? I mean the arrow when you shoot it with the bow, not the item that you can drop.

For 1.15 I would know the commands:

For floor:

/ execute positioned as @e [type = arrow, nbt = {inGround: 1b}] run summon tnt

Meet for players:

/ execute positioned as @e [type = arrow] if entity @p [distance = .1] run summon tnt

Be

I'm not quite sure, but I don't think I can do that yet.

But you can search and try it yourself. These two pages are certainly helpful:

https://mcstacker.net/1.12.php

https://minecraft-de.gamepedia.com/...e/Vor_1.13

gl

Thank you so much!