Program: 156932
Project: 156932
Buggy source:
private void pipeGateRender(RenderBlocks renderblocks,Block block,PipeRenderState state,int x,int y,int z){
  state.currentTexture=BuildCraftTransport.instance.gateIconProvider.getIcon(state.getGateIconIndex());
  float min=Utils.pipeMinPos + 0.05F;
  float max=Utils.pipeMaxPos - 0.05F;
  if (shouldRenderNormalPipeSide(state,ForgeDirection.WEST)) {
    block.setBlockBounds(Utils.pipeMinPos - 0.10F,min,min,Utils.pipeMinPos,max,max);
    renderblocks.setRenderBoundsFromBlock(block);
    renderblocks.renderStandardBlock(block,x,y,z);
  }
  if (shouldRenderNormalPipeSide(state,ForgeDirection.EAST)) {
    block.setBlockBounds(Utils.pipeMaxPos,min,min,Utils.pipeMaxPos + 0.10F,max,max);
    renderblocks.setRenderBoundsFromBlock(block);
    renderblocks.renderStandardBlock(block,x,y,z);
  }
  if (shouldRenderNormalPipeSide(state,ForgeDirection.DOWN)) {
    block.setBlockBounds(min,Utils.pipeMinPos - 0.10F,min,max,Utils.pipeMinPos,max);
    renderblocks.setRenderBoundsFromBlock(block);
    renderblocks.renderStandardBlock(block,x,y,z);
  }
  if (shouldRenderNormalPipeSide(state,ForgeDirection.UP)) {
    block.setBlockBounds(min,Utils.pipeMaxPos,min,max,Utils.pipeMaxPos + 0.10F,max);
    renderblocks.setRenderBoundsFromBlock(block);
    renderblocks.renderStandardBlock(block,x,y,z);
  }
  if (shouldRenderNormalPipeSide(state,ForgeDirection.NORTH)) {
    block.setBlockBounds(min,min,Utils.pipeMinPos - 0.10F,max,max,Utils.pipeMinPos);
    renderblocks.setRenderBoundsFromBlock(block);
    renderblocks.renderStandardBlock(block,x,y,z);
  }
  if (shouldRenderNormalPipeSide(state,ForgeDirection.SOUTH)) {
    block.setBlockBounds(min,min,Utils.pipeMaxPos,max,max,Utils.pipeMaxPos + 0.10F);
    renderblocks.setRenderBoundsFromBlock(block);
    renderblocks.renderStandardBlock(block,x,y,z);
  }
}

Fixed version (ground truth):
private void pipeGateRender(RenderBlocks renderblocks,Block block,PipeRenderState state,int x,int y,int z){
  state.currentTexture=BuildCraftTransport.instance.gateIconProvider.getIcon(state.getGateIconIndex());
  float min=Utils.pipeMinPos + 0.05F;
  float max=Utils.pipeMaxPos - 0.05F;
  if (shouldRenderNormalPipeSide(state,ForgeDirection.WEST)) {
    block.setBlockBounds(Utils.pipeMinPos - 0.10F,min,min,Utils.pipeMinPos + 0.001F,max,max);
    renderblocks.setRenderBoundsFromBlock(block);
    renderblocks.renderStandardBlock(block,x,y,z);
  }
  if (shouldRenderNormalPipeSide(state,ForgeDirection.EAST)) {
    block.setBlockBounds(Utils.pipeMaxPos + 0.001F,min,min,Utils.pipeMaxPos + 0.10F,max,max);
    renderblocks.setRenderBoundsFromBlock(block);
    renderblocks.renderStandardBlock(block,x,y,z);
  }
  if (shouldRenderNormalPipeSide(state,ForgeDirection.DOWN)) {
    block.setBlockBounds(min,Utils.pipeMinPos - 0.10F,min,max,Utils.pipeMinPos + 0.001F,max);
    renderblocks.setRenderBoundsFromBlock(block);
    renderblocks.renderStandardBlock(block,x,y,z);
  }
  if (shouldRenderNormalPipeSide(state,ForgeDirection.UP)) {
    block.setBlockBounds(min,Utils.pipeMaxPos + 0.001F,min,max,Utils.pipeMaxPos + 0.10F,max);
    renderblocks.setRenderBoundsFromBlock(block);
    renderblocks.renderStandardBlock(block,x,y,z);
  }
  if (shouldRenderNormalPipeSide(state,ForgeDirection.NORTH)) {
    block.setBlockBounds(min,min,Utils.pipeMinPos - 0.10F,max,max,Utils.pipeMinPos + 0.001F);
    renderblocks.setRenderBoundsFromBlock(block);
    renderblocks.renderStandardBlock(block,x,y,z);
  }
  if (shouldRenderNormalPipeSide(state,ForgeDirection.SOUTH)) {
    block.setBlockBounds(min,min,Utils.pipeMaxPos + 0.001F,max,max,Utils.pipeMaxPos + 0.10F);
    renderblocks.setRenderBoundsFromBlock(block);
    renderblocks.renderStandardBlock(block,x,y,z);
  }
}