Repository navigation
Player Skins
Salamander draws players' skins in the modern format:
- 64x64 skins with slim arms
- Flat or 3D skin layers (hat, jacket, sleeves, pants), drawn flat beyond a set distance
- See-through skin pixels, sorted with water, ice and stained glass, also under Angelica's shaders
- Skin layers hidden where armor covers them, and shown in its openings
- 3D hat layers on player heads
With Wawel Auth, every player's skin comes from their own auth provider, and each player's part toggles (what they show of their own skin) apply. Without it, skins come from vanilla's download and are read in the 64x64 format, with slim arms from their metadata.
A player head given only its owner's name shows that player's skin. With Wawel Auth, the name is found like Wawel Auth's other plain names, and name@provider picks a player at a provider.
With SimpleSkinBackport installed as well, Salamander draws the players and heads. SimpleSkinBackport's extruded layers, arm swaps and head hats stay off; its other features are left alone.
The config screen (Mods, Salamander, Config) has a button per category:
- Skins: hide layers under armor, see-through layers, see-through base skin.
- 3D layers: the master switch, the distance beyond which layers are drawn flat, voxel sizes, and a Layers button with the per-layer toggles.
- Skulls: 3D hat layers on player heads, and their voxel size.
They are stored in config/salamander/salamander.cfg. Settings from older Wawel Auth versions, which drew the layers before, are carried over once.
The Aether's accessories, ArmoredArms' first-person sleeves, Botania, Et Futurum Requiem's elytra and fancy skulls, Ears, Model Citizens figures, Smart Moving and Smart Render, and Wall Grab are supported. Even Mo' Bends draws its players' layers through Salamander.
industries.angelic.salamander.api.skin has the skin layer API for other player models: PlayerSkins for a player's skin, slim arms and shown parts, whatever the source, and SkinLayers for drawing the layers on a model's own parts.