mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-21 12:42:57 +00:00
Doing some code cleanup.
This commit is contained in:
1 parent
038be9da2a
commit
3d866316a7
199 files changed
+797
-381
No files matched your search
@@ -38,7 +38,7 @@ public class TankRender implements ISimpleBlockRenderingHandler
|
||||
{
|
||||
if (modelID == tankModelID)
|
||||
{
|
||||
// Liquid
|
||||
//Liquid
|
||||
LavaTankLogic logic = (LavaTankLogic) world.getTileEntity(x, y, z);
|
||||
if (logic.containsFluid())
|
||||
{
|
||||
@@ -53,7 +53,7 @@ public class TankRender implements ISimpleBlockRenderingHandler
|
||||
renderer.setRenderBounds(00, 0.001, 0.001, 0.999, logic.getFluidAmountScaled(), 0.999);
|
||||
}
|
||||
|
||||
// Block
|
||||
//Block
|
||||
int meta = world.getBlockMetadata(x, y, z);
|
||||
if (meta == 0 && world.getBlock(x, y + 1, z) == Blocks.air)
|
||||
{
|
||||
@@ -108,4 +108,4 @@ public class TankRender implements ISimpleBlockRenderingHandler
|
||||
tessellator.draw();
|
||||
GL11.glTranslatef(0.5F, 0.5F, 0.5F);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user