Download AlphaSkins — Minecraft Mods — MetaMods

AlphaSkins

Active

Downloads

2

Last update

9 months ago

Versions

1.16.5 — 1.21.4
Client
Fabric
Forge
Neoforge
Decor
Utils

AlphaSkins

A long time ago, Minecraft developers removed the ability to display the alpha channel on character skins. This broke all skins that used transparency for artistic purposes.

This mod brings this functionality back. Using mixin technology, it disables the code that removes the alpha channel when rendering skins.

Important note: this mod does not allow other players to see your transparent skins. It only affects the display on your client.

The original implementation for Fabric was found here. I used the information from this code to port the mixins for Forge and added additional improvements for seamless transparency operation, as if it were a native game feature.

Essentially, the mod adds three mixins. The first one disables the removal of the alpha channel and color in the skin loading class. Normally, this class sets the alpha value to 0, making everything opaque. The second mixin is a variant of the same one but for the SkinProcessor class, which is mainly used for functionality related to Realms.

The third mixin fixes the FirstPersonRenderer class and makes the first-person hand respect transparency. Normally, it is rendered without considering the alpha channel, but by injecting at the beginning of the method, I was able to fix this.

Project members
mja00

mja00

Developer

Created: 26 Dec 2021

ID: 5826