Board Thread:Suggestions forum/@comment-31310672-20180407092611/@comment-31507215-20180407165312

Although this would be far more realistic, I doubt it would be very easy to code, and would probably require an overhaul of standard MC mechanics.

Something that may be easier and better in the long run would be a decrease/increase in detection range, based on many factors, such as whether the NPC is mounted, whether the player is wearing metal armour, how dark it is, etc.