mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-27 15:23:16 +00:00
Fixed Chargepad render
This commit is contained in:
1 parent
e6da7fdc9c
commit
82b42282e6
2 files changed
+1
-3
No files matched your search
@@ -78,8 +78,6 @@ public class ModelChargepad extends ModelBase
|
||||
GlStateManager.pushMatrix();
|
||||
MekanismRenderer.blendOn();
|
||||
|
||||
doRender(size);
|
||||
|
||||
manager.bindTexture(OVERLAY);
|
||||
GlStateManager.scale(1.001F, 1.001F, 1.001F);
|
||||
GlStateManager.translate(0, -0.0011F, 0);
|
||||
|
||||
@@ -18,7 +18,7 @@ public class RenderChargepad extends TileEntitySpecialRenderer<TileEntityChargep
|
||||
public void renderTileEntityAt(TileEntityChargepad tileEntity, double x, double y, double z, float partialTick, int destroyStage)
|
||||
{
|
||||
GlStateManager.pushMatrix();
|
||||
GlStateManager.translate((float)x + 0.5F, (float)y + 1.5F, (float)z + 1.5F);
|
||||
GlStateManager.translate((float)x + 0.5F, (float)y + 1.5F, (float)z + 0.5F);
|
||||
bindTexture(MekanismUtils.getResource(ResourceType.RENDER, "Chargepad.png"));
|
||||
|
||||
switch(tileEntity.facing.ordinal()) /*TODO: switch the enum*/
|
||||
|
||||
Reference in new issue
Block a user