This client-side mod adds player heads next to chat messages, as seen on the screenshot above.
It makes telling various people in chat apart a bit easier, and it looks hella nice.
Based on a request from Hugman on the Fabric discord.
Note: The default settings might not work on some servers. In this case try using "Heuristic only" sender detection. Note that this might put wrong chat heads on some messages.
Note: Incompatible with newer versions of OptiFine (~1.20.1), use Sodium and co instead.
Note: make sure you're downloading the proper version of the mod, the Fabric/Forge files are separate