mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-23 05:19:53 +00:00
Textures for turbine components! Still need to texture turbine structure blocks.
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user