This is a Minecraft 1.19.1 client mod using fabric. The repository has two separated branches.
This branch is the "public" version of the mod. It has only one basic feature. The feature adds a key binding that allow the user to hide/show its top skin layer. The player's cape is not affected by default but an option is available with the ModMenu from TerraformersMC
This branch has the same feature as the main one, but it adds a feature more specific to my own skin. It is now possible for other players to hide my skin by holding a shear in their main hand and sneaking. In addition, they can show my skin by giving me pink wool. The reason I made this is that my skin is made of wool.
Archive containing builds for both branches : Download.
You can also download releases that are available on Github.
The mod has two dependencies. You have to download Mod Menu and Fabric API if you want to use this mod.
Download the SkinSwitchMod after choosing your build (main or privateUseModVersion) and paste it in your mod folder. Add the two dependencies.
Then start your Minecraft client with Fabric 1.19.1.
The mod seems to support Fabric 1.19.2 (if you update dependencies).
Config options with ModMenu (privateUseModVersion branch) :
Inspired by Flashy Clothing.
Code read for inspiration : Boosted Brightness and Logical Zoom.
Some code taken from Mod Menu (especially for config system and config gui).
Feel free to edit any branch of the mod to add features or improve the code. I am not familiar with modding, so I probably wrote low quality code. In addition, I have not been coding in java for many months, so I did not always follow object oriented best practices even if I tried.