#Armor renderer it isn't changing colors

22 messages · Page 1 of 1 (latest)

worthy hawk
#

I am not sure how coloring works for amor models with armor renderer, but maybe the ColorProviderRegistry is what you want to use in the client initialization. I have used it for altering a item overlay texture, like how potions do it.

glad bone
#

Yeah

#

I have that

#

The dye works well

#

For the item

#

The problem is the rendering of the armor

spiral whale
#

Try putting your armor pieces in the item/dyeable tag.

#

actually, what version are you on?

glad bone
#

Oh

#

Yeah

#

Srry

#

1.20.1

spiral whale
#

Yeah. Idk what all happened between 1.19.2 and 1.21.1, but 1.19.2 was the last time I messed with dyeable armor and I looked at it earlier today on 1.21.1 and it looks like it changed a decent amount, so, I'm not really sure how it looks on 1.20.1.

glad bone
#

It changed in 1.21 I think with the tags instead of the item class

#

But, it should work

#

Idk why the render doesn't want to work

#

I looked also in the leather armor renderer and it looks almost the same

spiral whale
#

Yeah. I don't really know much about armor. I might look into it more for the mod I'm currently working on, but it rendering in general is always a pain to work with.

glad bone
#

Yeah, I know

#

I don't like doing renderings

spiral whale
#

I mostly hate it because of all the math and sometimes you have to do stuff with getting information actually to the client to render stuff.

glad bone
#

Yeah, it needs to send packets all the time, except for this one, because the color is on the client directly