mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-19 19:59:55 +00:00
Render Tank/Window/.. Liquid and Block in two different renderpasses. This should fix the lava derpiness.
This commit is contained in:
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)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user