#Help with Custom Armor (fancypants)

12 messages · Page 1 of 1 (latest)

worldly swallow
#

Hi, I recently heard of this shader that can customize leather armor based on the RGB color, fancypants, although even after a video on it and trying to read the docs, I still don't really get it. Does anyone really know how to implement this into a resource pack? And any videos/tutorials on how it works?
https://github.com/Ancientkingg/fancyPants/tree/v3.0.0

GitHub

Fancy Pants is a shader for 1.17-1.21+ vanilla minecraft that allows datapack developers to add custom armor to minecraft by using leather armor. - GitHub - Ancientkingg/fancyPants at v3.0.0

brave radishBOT
#
Welcome to the help forum!

Please make sure to read #1029373817119838218 as it may answer your question!

Once your question has been resolved, please mark the post as closed by using the </close:1163944441741049897> command.

static harbor
worldly swallow
#

1.20.4

static harbor
# worldly swallow 1.20.4

K, so all you need to do is to basically have the armors you want next to one another like this (in one file)
Ignore the 0 and 1, that's just something I wrote there so I remembered what HEX value that specific armor uses (#000000, #000001 etc.) You can use any values you want, I justed used 1,2,3, etc. to line them up with a score I used for that minigame map.
The leftmost one always has to stay as it is, including that white pixel.
The other ones need to have a color in their top-left most pixel, which defines the color of leather armor they get used on.
Other than that it's literally just a set of armors next to one another.

#

you do that for both the leather_layer_1.png and leather_layer_2.png files (layer_2 is for the leggings)

#

and you keep the _overlay.png files empty like in their example pack

worldly swallow
#

ah alright, thanks this made it simplier.

However do you know how to implement this into a resource pack?

static harbor
#

You just put those.png files into a resoure pack like a normal armor texture and make sure you copy their minecraft/shaders folder into your own pack.

#

If you were in 1.21.2 (or newer) you could assign custom textures to armors more easily

worldly swallow
#

so just replace the vanilla leather textures