mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
Fix foundry basin inventory rendering
This commit is contained in:
parent
87f36271e2
commit
f7dc67eef8
@ -24,8 +24,6 @@ public class RenderFoundryBasin implements ISimpleBlockRenderingHandler {
|
|||||||
|
|
||||||
GL11.glTranslatef(-0.5F, -0.5F, -0.5F);
|
GL11.glTranslatef(-0.5F, -0.5F, -0.5F);
|
||||||
|
|
||||||
basin.setBlockBounds(0.0F, 0.0F, 0.0F, 1.0F, 1.0F, 1.0F);
|
|
||||||
|
|
||||||
tessellator.startDrawingQuads();
|
tessellator.startDrawingQuads();
|
||||||
tessellator.setNormal(0F, 1F, 0F);
|
tessellator.setNormal(0F, 1F, 0F);
|
||||||
renderer.renderFaceYPos(block, x, y, z, basin.iconTop);
|
renderer.renderFaceYPos(block, x, y, z, basin.iconTop);
|
||||||
|
|||||||
@ -24,7 +24,7 @@ public class RenderFoundryMold implements ISimpleBlockRenderingHandler {
|
|||||||
|
|
||||||
GL11.glTranslatef(-0.5F, -0.5F, -0.5F);
|
GL11.glTranslatef(-0.5F, -0.5F, -0.5F);
|
||||||
|
|
||||||
basin.setBlockBounds(0.0F, 0.0F, 0.0F, 1.0F, 0.5F, 1.0F);
|
renderer.setRenderBounds(0.0F, 0.0F, 0.0F, 1.0F, 0.5F, 1.0F);
|
||||||
|
|
||||||
tessellator.startDrawingQuads();
|
tessellator.startDrawingQuads();
|
||||||
tessellator.setNormal(0F, 1F, 0F);
|
tessellator.setNormal(0F, 1F, 0F);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user