The bug
Again, you can't get damaged by shooting an armor stand with a full suit of armor enchanted with thorns.
How to reproduce
Enchant a full suit of any armor with thorns
Put it on an armor stand
Get a bow, crossbow and arrows and go to survival
Shoot it
Observed results:
You don't get damaged by the thorns, since projectiles get also affected by thorns.
Expected results:
You should get damaged, just like a skeleton shooting you with a full suit of netherite armor with thorns.
Linked issues
Attachments
Comments


Also, if needed, please attach a video

Can confirm

Also affects other projectiles like snowballs or eggs but it's probably intended
Can confirm in 21w03a.
Can confirm in 21w06a.
Can confirm in 21w08b. Video attached.

Affects 21w11a.
Can confirm in 21w17a.

Can confirm in 1.17.1.

Can confirm for 21w37a, also, may I ownership this ticket, because the owner is inactive since December, so I can keep this ticket alive.
Can confirm in 1.19.1
[media]
Thank you for your report!
After consideration, the issue is being closed as Working as Intended.
Please note, that mechanics of the game may change between updates.
Things such as graphics, sounds, world creation, biomes, redstone, villagers, and animals may not work the same in current versions.
Full Version History – Snapshot Version History – The official Minecraft feedback site
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

Note: Thorns (or in general: enchantment effects that take effect after attacks) never take effect on killing blows, since the gear is no longer equipped on a dead entity. Arrows one-shot armor stands.
Sorry but I could not attach a video, it was too large to attach