mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-20 04:09:40 +00:00
Fixes #1561
The item in the drying rack was being rendered on the incorrect side of the block, rotating to face the correct way then translating it to the correct spot fixes the issue.
This commit is contained in:
1 parent
d0af50c149
commit
d77b571f23
1 file changed
+18
-2
@@ -55,11 +55,27 @@ public class DryingRackSpecialRender extends TileEntitySpecialRenderer
|
||||
if (meta == 2)
|
||||
GL11.glTranslatef(0F, 0F, 0.375F);
|
||||
if (meta == 3)
|
||||
GL11.glTranslatef(0F, 0F, -0.375F);
|
||||
{
|
||||
/**
|
||||
* Rotate the image as it is flipped, translate to the correct spot.
|
||||
*/
|
||||
GL11.glRotatef(180F, 0F, 1F, 0F);
|
||||
GL11.glTranslatef(0F, 0F, 0.2F);
|
||||
//GL11.glTranslatef(0F, 0F, -0.375F);
|
||||
}
|
||||
if (meta == 4)
|
||||
{
|
||||
GL11.glTranslatef(0F, 0F, 0.2875F);
|
||||
}
|
||||
if (meta == 5)
|
||||
GL11.glTranslatef(0F, 0F, -0.5F);
|
||||
{
|
||||
/**
|
||||
* Rotate the image as it is flipped, translate to the correct spot.
|
||||
*/
|
||||
GL11.glRotatef(180F, 0F, 1F, 0F);
|
||||
GL11.glTranslatef(0F, 0F, 0.3F);
|
||||
//GL11.glTranslatef(0F, 0F, -0.5F);
|
||||
}
|
||||
}
|
||||
GL11.glScalef(2F, 2F, 2F);
|
||||
if (stack.getItem() instanceof ItemBlock)
|
||||
|
||||
Reference in new issue
Block a user