Forum rules: Do not post bugs or feature requests here! Report bugs to our Issue Tracker and suggestions to Suggest a Feature.

This site is not for solicitation of services or 'purchasing' development. Please do not post requesting side mods/plugins and so on. Your thread will be removed, and you will receive a warning.
User avatar
By zero_breaker
#21766 On the Skype chat Felix tolded me that mirror texture no longer work, and after looking at the vanilla Player model file and the one created by Techne, I noticed something.

The vanilla one:
Spoiler:
this.bipedRightArm = new ModelRenderer(this, 40, 16);
this.bipedRightArm.addBox(-3.0F, -2.0F, -2.0F, 4, 12, 4, par1);
this.bipedRightArm.setRotationPoint(-5.0F, 2.0F + par2, 0.0F);
this.bipedLeftArm = new ModelRenderer(this, 40, 16);
this.bipedLeftArm.mirror = true;
this.bipedLeftArm.addBox(-1.0F, -2.0F, -2.0F, 4, 12, 4, par1);
this.bipedLeftArm.setRotationPoint(5.0F, 2.0F + par2, 0.0F);


The Techne one (of my Crobat):
Spoiler:
Bottom_Wing_Middle_Left = new ModelRenderer(this, 74, 4);
Bottom_Wing_Middle_Left.addBox(0F, -0.5F, -0.5F, 7, 1, 1);
Bottom_Wing_Middle_Left.setRotationPoint(7.2F, 3.2F, 0F);
Bottom_Wing_Middle_Left.setTextureSize(128, 64);
Bottom_Wing_Middle_Left.mirror = true;
setRotation(Bottom_Wing_Middle_Left, 0F, 0F, 1.308997F);
Bottom_Wing_Middle_Right = new ModelRenderer(this, 74, 4);
Bottom_Wing_Middle_Right.addBox(0F, -0.5F, -0.5F, 7, 1, 1);
Bottom_Wing_Middle_Right.setRotationPoint(-7.2F, 3.2F, 0F);
Bottom_Wing_Middle_Right.setTextureSize(128, 64);
Bottom_Wing_Middle_Right.mirror = true;
setRotation(Bottom_Wing_Middle_Right, 0F, 0F, 1.832596F);


Apparently Techne labeled all blocks to be mirrored, even the ones that does not need to be mirrored. Maybe we can still use mirrored texture after all? Someone help me test this please.

User avatar
By MrMasochism
#22023 Whether techne labels them as mirrored or not in the code doesn't matter, it doesn't change anything as mirrored textures still don't actually mirror
JOIN THE TEAM