@Override
public boolean renderWorldBlock(IBlockAccess world, int x, int y, int z, Block block, int modelId, RenderBlocks renderBlocks) {
TileEntity tile = world.getTileEntity(x, y, z);
if (tile instanceof TileStair) {
TileStair stair = (TileStair) tile;
if (canRenderInPass(renderBlocks, stair.getStair())) {
renderBlocks.renderBlockStairs((BlockStairs) block, x, y, z);
return true;
}
}
return false;