Summary:
The eyes of such mobs as enderman, spider and phantom are not affected by the darkness effect.
Also, the effect does not affect mobs such as magma cube and blaze, as they also emit light.
Steps to reproduce:
Set the night.
Give yourself the effect of darkness (/effect @s darkness 1000000 100 true).
Summon mobs with glowing parts / glowing mobs (eg spider, enderman, blaze, magma cube).
Move away from the mobs.
Consider mobs.
Observed results:
The glowing parts of mobs / glowing mobs are not affected by the darkness effect.
Expected results:
The darkness effect should affect all mobs.
Image:
[media]Linked issues
Attachments
Comments

Thank you for your report!
However, this issue is Working as Intended.
The report you have submitted is 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 – Feature Requests and Suggestions
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
Thank you for your report!
However, this issue is Working as Intended.
The report you have submitted is 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 – Feature Requests and Suggestions
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki