#Disable Players second skin layer

30 messages · Page 1 of 1 (latest)

carmine trout
#

could you not just mixin into the PlayerModel and just set the bones for the outer layer to invisible?

carmine trout
#

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?

warped mason
#

what do you mean by the overlayed textures second layer?

#

and what do you mean by the second layer of the players skin?

waxen totem
#

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?

kindred radish
#

How does one even render multiple skins at the same time, wouldn’t that just override the original skin anyway

waxen totem
#

^

#

Have you looked what the client does when it recieves a player join packet?

kindred radish
#

Yeah but it would be equivalent to changing the texture in the renderer via mixin right

kindred radish
#

*lol

#

!!paste

deft stumpBOT
#
Using a Paste Site

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

waxen totem
kindred radish
#

Probably

carmine trout
#

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?

carmine trout
#

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.

kindred radish
#

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

kindred radish
#

No because you can reenable visibility before the second render

kindred radish
#

!yf ModelPart.visible 1.21.1

deft stumpBOT
#
1.21.1 matches

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

kindred radish
#

tada

kindred radish
#

Open your IDE and findusages for the above