How to detect if an arrow is in the ground

How to detect if an arrow is in the ground - Bright pointer in footpath in forest

For some reason when I do:

/kill @e[type=Arrow] {inGround:1b}

It kills all arrows.

The correct output should be it only killing arrows that are in the ground. How can I fix this?






Pictures about "How to detect if an arrow is in the ground"

How to detect if an arrow is in the ground - Arrows on Brown Grass
How to detect if an arrow is in the ground - Woman in Green Shirt Sitting Beside Boy in Gray Shirt Reading Book
How to detect if an arrow is in the ground - Photo of Pedestrian Lane



How do you get rid of an arrow in the ground in Minecraft?

/kill @e[type=arrow,nbt={inGround:1b}] When you have both command blocks ready, place a lever on the first command block marked by the red box in the image above and activate it. Doing so will give arrows that fire from either a crossbow or bow an explosion effect similar to TNT in Java Minecraft.



All About Arrow NBT - Minecraft Tutorial




Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.

Images: Erik Mclean, RODNAE Productions, cottonbro, Sonny Sixteen