Plz Mojang optimize font rendering
Use player heads in chat and more via placeholders! Credits to CatDevz for making the original Minestom code.
When a player joins its skin gets downloaded and the colors of the pixels of the face get extracted and put in a User UUID, TextColor[][]
Map, when the placeholder gets invoked, it searches for the user in that map and tries to print the head in chat using negative spaces and a custom pixel font.
Placeholder | Function |
---|---|
%chatheads:player% |
Print the invoker's head |
%chatheads:player [target]% |
Print the target's head |
Upstream builds are available in via GitHub Actions.
- CatDevz for making the original Minestom code
- Camper_Samu (me) for making the Fabric port
- TheEpicBlock for PolyMC
- Patbox for Polymer, a part of PolyMC and the core of many Serverside mods (like this one)
- Fabric Server-Side Development Discord for helping me while making this mod and other mods (like WAYF? or PolyForgery)
For setup instructions please see the fabric wiki page that relates to the IDE that you are using.
This template is available under the GPLv3 license. Feel free to learn from it and incorporate it in your own projects following the license's guidelines.