Textures for turbine components! Still need to texture turbine structure blocks.

This commit is contained in:
aidancbrady committed 2016-01-22 19:36:39 -05:00
1 parent cfa2c1e4d9
commit 9cbc96a88e
16 files changed
+177 -58

No files matched your search

@@ -100,18 +100,7 @@ public class BlockRenderingHandler implements ISimpleBlockRenderingHandler
@Override
public boolean renderWorldBlock(IBlockAccess world, int x, int y, int z, Block block, int modelId, RenderBlocks renderer)
{
if(block == GeneratorsBlocks.Generator)
{
int metadata = world.getBlockMetadata(x, y, z);
if(GeneratorType.getFromMetadata(metadata) == null || !GeneratorType.getFromMetadata(metadata).hasModel)
{
renderer.renderStandardBlock(block, x, y, z);
renderer.setRenderBoundsFromBlock(block);
return true;
}
}
//Handled by CTMRenderingHandler
return false;
}