介绍
A long while ago Mojang removed the ability for the client to render skin’s alpha channel. This broke skins that used transparency in an artistic manner.
This mod aims to reintroduce that functionality. Using mixins it turns off the code that strips the alpha channel from the skin upon rendering.
This mod doesn’t make it so other people see your transparent skins. This only affects your client’s rendering.
Original mixin for Fabric was found here, I just used the info found in it to port this mixin to Forge as well as added a few more to make the transparency seamless as if it was made first party.
Essentially this mod adds 3 mixins. The first one is disabling the alpha and color stripping for the skin downloading class. This class normally will set the alpha to be 0 making nothing transparent. The second mixin is a variant of the same mixin just for a SkinProcessor class, which only seems to be used for Realms-related stuff.
The third mixin patches the FirstPersonRenderer class and makes the hand respect transparency. Normally it’s rendered without any care to the alpha channel but using head injection I was able to override that.
Note: I do not make any money off this link. It’s fully non-monetized.
常见问题
AlphaSkins 支持哪些 Minecraft 版本?
AlphaSkins 支持 Minecraft Java 版 1.16.5–26.3,共 25 个版本,可用的加载器:Fabric / Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。
AlphaSkins 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。
mja00 的其他作品
查看全部 →
Kami Chan Optimized
A modpack built around optimizing the client without adding any unnecessary mods.
Kami Chan Optimized Plus
Kami Chan Optimized but with some extra flare!
Horizon Reborn
Horizon Reborn
评论
登录后评论和评分