mirror of
https://github.com/GTNewHorizons/BloodMagic.git
synced 2026-11-27 07:13:14 +00:00
More arm stuffs!
This commit is contained in:
1 parent
32e6539deb
commit
724f09c130
3 files changed
+25
-19
No files matched your search
@@ -32,19 +32,16 @@ public class POVArmourModelWrapper extends ModelRenderer
|
||||
@Override
|
||||
public void render(float partialTicks)
|
||||
{
|
||||
// if (ClientEventHandler.currentEvent != null && ClientEventHandler.currentPartsData != null && ClientEventHandler.currentPlayerTexture != null)
|
||||
{
|
||||
// PartInfo info = ClientEventHandler.currentPartsData.getPartInfo(partType);
|
||||
// if (info != null && info.hasPart)
|
||||
{
|
||||
GL11.glPushMatrix();
|
||||
// GL11.glTranslated(0.3, -.1, 0);
|
||||
Minecraft.getMinecraft().renderEngine.bindTexture(resource);
|
||||
armModel.render(partialTicks);
|
||||
GL11.glPushMatrix();
|
||||
// GL11.glTranslated(0.3, -.1, 0);
|
||||
Minecraft.getMinecraft().renderEngine.bindTexture(resource);
|
||||
armModel.rotateAngleX = this.rotateAngleX;
|
||||
armModel.rotateAngleY = this.rotateAngleY;
|
||||
armModel.rotateAngleZ = this.rotateAngleZ;
|
||||
armModel.render(partialTicks);
|
||||
|
||||
GL11.glPopMatrix();
|
||||
Minecraft.getMinecraft().renderEngine.bindTexture(ClientEventHandler.currentPlayerTexture);
|
||||
|
||||
GL11.glPopMatrix();
|
||||
Minecraft.getMinecraft().renderEngine.bindTexture(ClientEventHandler.currentPlayerTexture);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user