FabricTailor

FabricTailor

327k Downloads

[Suggestion] API For mod developers

hypherionmc opened this issue ยท 5 comments

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?

commented

Yes, there is exactly this method available :)

commented

Thanks for the reply :). Does this only work with Mojang skins or also with custom skins (like your mod supports)?

commented

It gets you the set skin id, which you can use in combination with https://mc-heads.net/avatar/textureid

commented

Yeah, works with fabrictailor skin and falls back to mojang if not set.