Posted June 16, 201411 yr Hello I am trying to create an armor that changes colors based on surroundings (currently coded as the block your character is standing on). The problem I have is the ItemArmor class function getColor(itemstack) has an if that only allows CLOTH (leather armor) to pass the color value. Both RenderBiped and RenderPlayer classes call this function. What is the best way to work around this issue without editing base files?
June 16, 201411 yr Author I overrided it in my armor class, but the render function continued to call ItemArmor's getColor function. edit: I found out this is working. The reason I didn't notice it is the item in inventory rendered black instead of the armor model rendering black. If anyone has any ideas for that I would be glad to hear them. I'm currently investigating it still.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.