Mobs such as iron golems, ravagers, and hoglins should take reduced knockback from bows with the Punch enchantment. However, they do not.
To recreate: Spawn in an iron golem, a ravager, a hoglin, and a creeper so that they do not see each other. Enchant a bow with Punch II and shoot all four mobs. Observe that they all get knocked back the same distance.
Thank you for your report!
We're tracking this issue in MC-100923, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature in the future to see if the issue has already been reported.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – ✍️ Feedback and Suggestions – 📖 Game Wiki