FancyMenu [Fabric] [MOVED TO NEW PROJECT]

FancyMenu [Fabric] [MOVED TO NEW PROJECT]

16M Downloads

Player Entity Not Updating Skin [old skin URL gets cached in element maybe]

SkightMeow opened this issue ยท 7 comments

commented

Describe the bug
The Player Entity element is not updating. I updated my skin, but it is stuck on my old skin. i couldn't find any other duplicate issues similar to mine and i'm lost if there is anything i can do. i tried everything from restarting to refreshing to changing skin again.

To Reproduce
Change player skin

Expected behaviour
Player Entity element to update with player skin changes.

Game Log
Log not relevant

Screenshots
image

Basic Informations (please complete the following information):

  • OS: Windows
  • FancyMenu Version [2.14.13]
  • Fabric Version [0.15.6]
  • Minecraft Version [1.20.1]
  • Active Mods [not relevant]
commented

Fixed/Added in FancyMenu v3.1.3!

commented

Just noticed that this is about FancyMenu v2, which should not have bugs related to incorrectly showing auto skins, so I think it's just the API I'm using that is caching your old skin in some way maybe.

If it still shows your old skin, check if you maybe set an actual hardcoded skin URL by accident or something. Also try toggling "auto skin" off and on again.

Will close this for now, but if you still have questions, please join the Discord server: #569

commented

I'm using this API: https://api.ashcon.app/mojang/v2/user/<USER_NAME_HERE>

commented

I tried everything you said before creating the Issue, may i ask which API are you using?

commented

Checking that API, it's returning the URL for my old skin. Here's my stuff https://api.ashcon.app/mojang/v2/user/adamk33n3r
It returns http://textures.minecraft.net/texture/957c4f863d249cf5e0b4dc4a7d9b87c3726ac7940bc409d40936872ef566b2d8
but my current skin that shows up on minecraft.net is
image
https://textures.minecraft.net/texture/38228bf58c41bd0c9ca62941ddeca8c49e3ec4d5ce928515cab7ff444bdb9b71

You can see the old one is even an outdated resolution without the extra layers.

So it looks like that API isn't working anymore as it should.

commented

If you wanted to do it yourself using minecraft's api.

  1. Get id from https://api.mojang.com/users/profiles/minecraft/adamk33n3r
  2. Get profile data from here using the id from step 1 https://sessionserver.mojang.com/session/minecraft/profile/b63fa9dfdbd74f8b9bdbeaa486781115
  3. Base64 decode properties[name=textures][value] to get the json which gets this
{
  "timestamp" : 1706860788807,
  "profileId" : "b63fa9dfdbd74f8b9bdbeaa486781115",
  "profileName" : "adamk33n3r",
  "textures" : {
    "SKIN" : {
      "url" : "http://textures.minecraft.net/texture/38228bf58c41bd0c9ca62941ddeca8c49e3ec4d5ce928515cab7ff444bdb9b71"
    },
    "CAPE" : {
      "url" : "http://textures.minecraft.net/texture/f9a76537647989f9a0b6d001e320dac591c359e9e61a31f4ce11c88f207f0ad4"
    }
  }
}
  1. Then you can get textures->SKIN->url
commented

I can't seem to get it to update to my current skin no matter what... This is exasperating