more work on crank power
This commit is contained in:
@@ -27,7 +27,7 @@ public class IRStoneGrindWheel implements IItemRenderer {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
case INVENTORY: {
|
case INVENTORY: {
|
||||||
return false;
|
return true;
|
||||||
}
|
}
|
||||||
case ENTITY: {
|
case ENTITY: {
|
||||||
return true;
|
return true;
|
||||||
@@ -77,7 +77,7 @@ public class IRStoneGrindWheel implements IItemRenderer {
|
|||||||
|
|
||||||
//GL11.glRotated(90, 1.0, 0.0, 0.0);
|
//GL11.glRotated(90, 1.0, 0.0, 0.0);
|
||||||
|
|
||||||
GL11.glTranslatef(1.0F, -0.45F, -0.35F);
|
GL11.glTranslatef(0.5F, -0.7F, 0.25F);
|
||||||
|
|
||||||
Minecraft.getMinecraft().renderEngine.bindTexture(TEXTURE);
|
Minecraft.getMinecraft().renderEngine.bindTexture(TEXTURE);
|
||||||
model.renderAll();
|
model.renderAll();
|
||||||
@@ -89,7 +89,7 @@ public class IRStoneGrindWheel implements IItemRenderer {
|
|||||||
|
|
||||||
GL11.glPushMatrix();
|
GL11.glPushMatrix();
|
||||||
GL11.glRotatef(15F, 0.0F, 0.0F, 1.0F);
|
GL11.glRotatef(15F, 0.0F, 0.0F, 1.0F);
|
||||||
//GL11.glScalef(0.2F, 0.2F, 0.2F);
|
GL11.glScalef(0.8F, 0.8F, 0.8F);
|
||||||
|
|
||||||
//ANGLE, X ROTATE, Y ROTATE, Z ROTATE
|
//ANGLE, X ROTATE, Y ROTATE, Z ROTATE
|
||||||
|
|
||||||
@@ -97,7 +97,7 @@ public class IRStoneGrindWheel implements IItemRenderer {
|
|||||||
//GL11.glRotated(180, 0.0F, 1.0F, 0.0F);
|
//GL11.glRotated(180, 0.0F, 1.0F, 0.0F);
|
||||||
//GL11.glRotated(180, 1.0F, 0.0F, 0.0F);
|
//GL11.glRotated(180, 1.0F, 0.0F, 0.0F);
|
||||||
|
|
||||||
GL11.glTranslatef(1.25F, -0.2F, -0.35F);
|
GL11.glTranslatef(0.0F, -0.45F, -0.75F);
|
||||||
|
|
||||||
Minecraft.getMinecraft().renderEngine.bindTexture(TEXTURE);
|
Minecraft.getMinecraft().renderEngine.bindTexture(TEXTURE);
|
||||||
model.renderAll();
|
model.renderAll();
|
||||||
@@ -107,18 +107,20 @@ public class IRStoneGrindWheel implements IItemRenderer {
|
|||||||
} break;
|
} break;
|
||||||
|
|
||||||
case INVENTORY: {
|
case INVENTORY: {
|
||||||
/*GL11.glPushMatrix();
|
GL11.glPushMatrix();
|
||||||
|
|
||||||
|
//GL11.glEnable(GL11.GL_TEXTURE_2D);
|
||||||
|
GL11.glScalef(15.0F, 15.0F, 15.0F);
|
||||||
|
GL11.glTranslatef(0.55F, 1.075F, 0.0F);
|
||||||
|
GL11.glRotatef(180, 1.0F, 0.0F, 0.0F);
|
||||||
|
GL11.glRotatef(-45, 1.0F, 0.0F, 0.0F);
|
||||||
|
|
||||||
GL11.glEnable(GL11.GL_TEXTURE_2D);
|
|
||||||
GL11.glScalef(2.0F, 2.0F, 2.0F);
|
|
||||||
GL11.glTranslatef(1.65F, 6.2F, 0.0F);
|
|
||||||
GL11.glRotatef(135, 0.0F, 0.0F, -1.0F);
|
|
||||||
|
|
||||||
Minecraft.getMinecraft().renderEngine.bindTexture(TEXTURE);
|
Minecraft.getMinecraft().renderEngine.bindTexture(TEXTURE);
|
||||||
model.renderAll();
|
model.renderAll();
|
||||||
|
|
||||||
GL11.glPopMatrix();
|
GL11.glPopMatrix();
|
||||||
*/
|
|
||||||
} break;
|
} break;
|
||||||
|
|
||||||
case ENTITY: {
|
case ENTITY: {
|
||||||
|
|||||||
Reference in New Issue
Block a user