Hanro50 / Agenta

A authserver and skin fix for legacy versions of minecraft.
MIT License
5 stars 1 forks source link

Semitransparent Skins #3

Open FireController1847 opened 3 months ago

FireController1847 commented 3 months ago

Hey there!! Thanks a ton for this mod, it's been super helpful to me!! I just wanted to throw this out there if it'd be possible to add support for semi-transparent pixels on skins? I don't know how much modification that would require to the existing codebase, but hey, the answer is always no if you don't ask!!! Again thanks for all this hard work, it works wonderfully for me!! <3 :)

Hanro50 commented 3 months ago

I'd have to check. Agenta doesn't alter Minecraft's code. Instead it replaces the http protocol handler so it can rewrite http request for now defunked minecraft endpoints with ones from modern versions of the game.

If I recall while mojang did and still uses .png files for storing and serving skins. The game's code simply doesn't take into account the Alpha channel as far as I'm aware. Resulting in transparent pixels and semi transparent pixels not rendering correctly.

Even if this feature would be added. At most it will only support a handful of minecraft versions.

Edit: In theory, due to how hands off agenta is with Minecraft's code. Any legacy mod that allows for semi transparent skins to be used should be compatible with agenta assuming it still tried to pull through skins from Mojang's servers.