Fixed the Corporea Crystal Cube and Hovering Hourglass not rendering every model piece in the inventory.

This commit is contained in:
Vasco Lavos committed 2015-09-28 20:01:56 +01:00
1 parent 7c625250fa
commit f2246c1c47
2 files changed
+4

No files matched your search

@@ -27,7 +27,9 @@ public class RenderCorporeaCrystalCube implements ISimpleBlockRenderingHandler {
public void renderInventoryBlock(Block block, int metadata, int modelId, RenderBlocks renderer) {
GL11.glPushMatrix();
GL11.glTranslatef(-0.5F, -0.5F, -0.5F);
GL11.glDisable(GL11.GL_ALPHA_TEST);
TileEntityRendererDispatcher.instance.renderTileEntityAt(new TileCorporeaCrystalCube(), 0.0D, 0.0D, 0.0D, 0.0F);
GL11.glEnable(GL11.GL_ALPHA_TEST);
GL11.glPopMatrix();
}
@@ -27,7 +27,9 @@ public class RenderHourglass implements ISimpleBlockRenderingHandler {
public void renderInventoryBlock(Block block, int metadata, int modelID, RenderBlocks renderer) {
GL11.glPushMatrix();
GL11.glTranslatef(-0.5F, -0.5F, -0.5F);
GL11.glDisable(GL11.GL_ALPHA_TEST);
TileEntityRendererDispatcher.instance.renderTileEntityAt(new TileHourglass(), 0.0D, 0.0D, 0.0D, 0.0F);
GL11.glEnable(GL11.GL_ALPHA_TEST);
GL11.glPopMatrix();
}