#Disable Players second skin layer
30 messages · Page 1 of 1 (latest)
maybe I don't quite understand the issue. You have your normal minecraft skin and want to swap it with a full different skin. Or do you wan to swap it with a skin which has only one layer?
what do you mean by the overlayed textures second layer?
and what do you mean by the second layer of the players skin?
Like do you mean that you just want to set the players skin texture?
Or only the secondary layer
So you basically want it to be as if the player turned off their layer in settings?
So the skin below the second layer should be the players skin but the second layer should be a custom skin?
Pardon my confusion but if I’m understand you right; you want to render the players normal skin without the second layer and render a custom skin first and second layer on top of the base skin?
How does one even render multiple skins at the same time, wouldn’t that just override the original skin anyway
As in client option wise
Yeah but it would be equivalent to changing the texture in the renderer via mixin right
I don’t see how this is relevant loo
*lol
!!paste
When sharing long code or logs, it's best to upload it to a paste site and share the link.
This way, others don't have to download the file to read it, and it's easier to read previous messages.
Paste sites and their size limits:
» GitHub Gist: 100 MiB / Requires an account
» Paste.gg: 15 MiB / Account is optional
» Mclo.gs: 10 MiB / Anonymous (designed specifically for Minecraft logs)
» Paste.ee: 1 MiB / Account is optional (raises limit to 6 MiB)
» Pastebin.com: 512 KiB / Account is optional
» Hastebin.com: 400 KiB / Anonymous
When a client joins the game the a packet is sent that contains the options for that player, these include what layers are rendered
I’m pretty sure that’s just the gameprofile
Probably
why is this done with an armor overlay? if you want to replace the players skin? Why do you know just mixin into the PlayerRenderer or model, idk which one actually has the method, and just change the method getting what texture to render and slam yours in there?
ah, no I am lost, that is just a strange way to do it. Sorry I don't really know how to help with that.
The second layer is composed of the jacket, sleeves and pants right
If so during the first render you can set the visibility of those model parts to false
No because you can reenable visibility before the second render
!yf ModelPart.visible 1.21.1
Class Names
Official: fyk
Intermediary: net/minecraft/class_630
Yarn: net/minecraft/client/model/ModelPart
Field Names
Official: k
Intermediary: field_3665
Yarn: visible
Yarn Field Descriptor
Z
Yarn Access Widener
accessible field net/minecraft/client/model/ModelPart visible Z
Yarn Mixin Target
Lnet/minecraft/client/model/ModelPart;visible:Z
Javadoc
tada
Open your IDE and findusages for the above