[Suggestion] API For mod developers
Closed this issue · 5 comments
hypherionmc commented
Hi there.
I was wondering if there is currently a way, or if not, if a way can be added, to get skins from the mod.
Say I have a server side mod that relays chats to discord, and I want to use the head of a player as an avatar, is there a way to get the URL from the mod for the active skin?
samolego commented
Yes, there is exactly this method available :)
samolego commented
hypherionmc commented
Thanks for the reply :). Does this only work with Mojang skins or also with custom skins (like your mod supports)?
samolego commented
It gets you the set skin id, which you can use in combination with https://mc-heads.net/avatar/textureid
samolego commented
Yeah, works with fabrictailor skin and falls back to mojang if not set.