Render Tank/Window/.. Liquid and Block in two different renderpasses. This should fix the lava derpiness.

This commit is contained in:
Bernhard Bonigl committed 2014-08-21 15:23:56 +02:00
1 parent fe30efec81
commit 8a8beaf250
2 files changed
+27 -19

No files matched your search

@@ -100,6 +100,12 @@ public class LavaTankBlock extends BlockContainer
// return true;
}
@Override
public boolean canRenderInPass(int pass) {
TankRender.renderPass = pass;
return true;
}
@Override
public int getLightValue (IBlockAccess world, int x, int y, int z)
{