If the player is under the Invisibility effect, the mob will shoot at someone, but definitely not at you, and you will deflect with your shield his projectile that was not fired at you, you will get the achievement «Not Today, Thank You». Reproduce:
Get the invisibility effect run the command: /effect give @s Invisibility infinite 0 true
Give yourself shield run the command: /give @s shield
Summon skeleton run the command: /summon skeleton
Give it a fire resistance effect run the command: /effect give @n[type=skeleton] fire_resistance infinite 0 true
Switch to survival mode.
Stand between the skeleton and the iron golem, but don't get too close to it so as not to be discovered.
Make sure that the skeleton deliberately shoots an arrow at the iron golem and then deflect its projectile with a shield.
You will get the achievement «Not Today, Thank You»
I don't think the video is necessary.
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