When I do this command
/summon minecraft:iron_golem ~ ~ ~ {Attributes:[{Name:generic.followRange,Base:100}]}
The line of sight of the iron golem is not affected at all. Even if I set it to only 5 (which should mean it cannot see anything further away than 4 blocks), it retains its default line of sight. It's the same case for Wither Skeletons, and presumably some other mobs but I haven't tested them.
Linked issues
duplicates 1
Comments 3
Thank you for your report!
We're tracking this issue in MC-145656, 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 to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
-- I am a bot. This action was performed automatically! Please report any issues on Discord or Reddit
Have you tried attacking them from a distance?