Program: 22478
Project: 22478
Buggy source:
public void updateEntity(){
  ForgeDirection[] directions=new ForgeDirection[5];
  int i=0;
  for (  ForgeDirection direction : ForgeDirection.values()) {
    if (direction != myDir() && direction != ForgeDirection.UP) {
      directions[i]=direction;
      i++;
    }
  }
  UtilSteamTransport.generalDistributionEvent(worldObj,xCoord,yCoord,zCoord,directions);
  UtilSteamTransport.generalPressureEvent(worldObj,xCoord,yCoord,zCoord,this.getPressure(),this.getCapacity());
  int[] target=getTarget(1);
  int x=target[0], y=yCoord, z=target[1];
  if (this.spinup == 1) {
    this.worldObj.playSoundEffect(this.xCoord + 0.5F,this.yCoord + 0.5F,this.zCoord + 0.5F,"String_Node_Str",Block.soundTypeAnvil.getVolume(),0.9F);
  }
  if (extendedTicks > 15) {
    this.worldObj.playSoundEffect(this.xCoord + 0.5F,this.yCoord + 0.5F,this.zCoord + 0.5F,"String_Node_Str",2.0F,0.9F);
  }
  if (extendedTicks == 5) {
    this.worldObj.playSoundEffect(this.xCoord + 0.5F,this.yCoord + 0.5F,this.zCoord + 0.5F,"String_Node_Str",0.5F,(float)(0.75F + (Math.random() * 0.1F)));
  }
  if (extendedTicks > 0 && extendedTicks < 6) {
    if (smooshingBlock != null && smooshingBlock.stepSound != null) {
      this.worldObj.playSoundEffect(this.xCoord + 0.5F,this.yCoord + 0.5F,this.zCoord + 0.5F,smooshingBlock.stepSound.getBreakSound(),0.5F,(float)(0.75F + (Math.random() * 0.1F)));
    }
  }
  decodeAndCreateParticles(1);
  if (this.hasBlockUpdate && this.hasPartner() && this.steam > 100) {
    if (this.shouldStop) {
      this.spinup=0;
      this.extendedLength=0;
      this.extendedTicks=0;
      this.isActive=false;
      this.shouldStop=false;
      this.isBreaking=false;
      return;
    }
 else {
    }
    if (this.hasSomethingToSmash() && !this.isActive) {
      this.steam-=100;
      this.isActive=true;
      this.isBreaking=true;
    }
    this.hasBlockUpdate=false;
  }
  if (this.isActive) {
    if (this.isBreaking) {
      if (this.spinup < 41) {
        if (this.spinup == 40) {
          if (!worldObj.isAirBlock(x,y,z) && worldObj.getTileEntity(x,y,z) == null && worldObj.getBlock(x,y,z).getBlockHardness(worldObj,x,y,z) < 50F) {
            this.spinup++;
            if (this.getBlockMetadata() % 2 == 0)             try {
              this.smooshingBlock=worldObj.getBlock(x,y,z);
              this.smooshingMeta=worldObj.getBlockMetadata(x,y,z);
              this.smooshedStack=new ItemStack(Item.getItemFromBlock(smooshingBlock),1,smooshingMeta);
            }
 catch (            Exception e) {
              System.out.println("String_Node_Str");
              System.out.println("String_Node_Str" + this.getBlockMetadata());
              e.printStackTrace();
            }
            worldObj.setBlock(x,y,z,SteamcraftBlocks.dummy);
          }
 else {
            if (this.hasPartner()) {
              int[] pc=getTarget(2);
              TileEntitySmasher partner=(TileEntitySmasher)worldObj.getTileEntity(pc[0],yCoord,pc[1]);
              if (partner.spinup < 41) {
                this.shouldStop=true;
              }
              if (partner.spinup >= 41) {
                if (partner.shouldStop) {
                  this.shouldStop=true;
                }
              }
              if (shouldStop) {
                this.spinup++;
                return;
              }
            }
          }
        }
        this.spinup++;
      }
 else       if (this.extendedLength < 0.5F && !this.shouldStop) {
        this.extendedLength+=0.1F;
        if (this.extendedTicks == 3) {
          if (this.getBlockMetadata() % 2 == 0 && !worldObj.isRemote)           spawnItems(x,y,z);
        }
        this.extendedTicks++;
      }
 else {
        this.isBreaking=false;
        this.spinup=0;
      }
    }
 else {
      if (this.extendedLength > 0.0F) {
        this.extendedLength-=0.025F;
        this.extendedTicks++;
        if (this.extendedLength < 0F)         this.extendedLength=0F;
      }
 else {
        this.isActive=false;
        this.extendedTicks=0;
        if (worldObj.getBlock(x,y,z) == SteamcraftBlocks.dummy) {
          worldObj.setBlockToAir(x,y,z);
        }
      }
    }
  }
 else   if (worldObj.getBlock(x,y,z) == SteamcraftBlocks.dummy && getBlockMetadata() % 2 == 0) {
    worldObj.setBlockToAir(x,y,z);
  }
  this.worldObj.markBlockForUpdate(xCoord,yCoord,zCoord);
}

Fixed version (ground truth):
public void updateEntity(){
  ForgeDirection[] directions=new ForgeDirection[5];
  int i=0;
  for (  ForgeDirection direction : ForgeDirection.values()) {
    if (direction != myDir() && direction != ForgeDirection.UP) {
      directions[i]=direction;
      i++;
    }
  }
  UtilSteamTransport.generalDistributionEvent(worldObj,xCoord,yCoord,zCoord,directions);
  UtilSteamTransport.generalPressureEvent(worldObj,xCoord,yCoord,zCoord,this.getPressure(),this.getCapacity());
  int[] target=getTarget(1);
  int x=target[0], y=yCoord, z=target[1];
  if (this.spinup == 1) {
    this.worldObj.playSoundEffect(this.xCoord + 0.5F,this.yCoord + 0.5F,this.zCoord + 0.5F,"String_Node_Str",Block.soundTypeAnvil.getVolume(),0.9F);
  }
  if (extendedTicks > 15) {
    this.worldObj.playSoundEffect(this.xCoord + 0.5F,this.yCoord + 0.5F,this.zCoord + 0.5F,"String_Node_Str",2.0F,0.9F);
  }
  if (extendedTicks == 5) {
    this.worldObj.playSoundEffect(this.xCoord + 0.5F,this.yCoord + 0.5F,this.zCoord + 0.5F,"String_Node_Str",0.5F,(float)(0.75F + (Math.random() * 0.1F)));
  }
  if (extendedTicks > 0 && extendedTicks < 6) {
    if (smooshingBlock != null && smooshingBlock.stepSound != null) {
      this.worldObj.playSoundEffect(this.xCoord + 0.5F,this.yCoord + 0.5F,this.zCoord + 0.5F,smooshingBlock.stepSound.getBreakSound(),0.5F,(float)(0.75F + (Math.random() * 0.1F)));
    }
  }
  decodeAndCreateParticles(1);
  if (this.hasBlockUpdate && this.hasPartner() && this.steam > 100) {
    if (this.shouldStop) {
      this.spinup=0;
      this.extendedLength=0;
      this.extendedTicks=0;
      this.isActive=false;
      this.shouldStop=false;
      this.isBreaking=false;
      return;
    }
 else {
    }
    if (this.hasSomethingToSmash() && !this.isActive) {
      this.steam-=100;
      this.isActive=true;
      this.isBreaking=true;
    }
    this.hasBlockUpdate=false;
  }
  if (this.isActive) {
    if (this.isBreaking) {
      if (this.spinup < 41) {
        if (this.spinup == 40) {
          if (!worldObj.isAirBlock(x,y,z) && worldObj.getTileEntity(x,y,z) == null && worldObj.getBlock(x,y,z).getBlockHardness(worldObj,x,y,z) < 50F) {
            this.spinup++;
            if (this.getBlockMetadata() % 2 == 0)             try {
              this.smooshingBlock=worldObj.getBlock(x,y,z);
              this.smooshingMeta=worldObj.getBlockMetadata(x,y,z);
              this.smooshedStack=smooshingBlock.getDrops(worldObj,x,y,z,smooshingMeta,0);
            }
 catch (            Exception e) {
              System.out.println("String_Node_Str");
              System.out.println("String_Node_Str" + this.getBlockMetadata());
              e.printStackTrace();
            }
            worldObj.setBlock(x,y,z,SteamcraftBlocks.dummy);
          }
 else {
            if (this.hasPartner()) {
              int[] pc=getTarget(2);
              TileEntitySmasher partner=(TileEntitySmasher)worldObj.getTileEntity(pc[0],yCoord,pc[1]);
              if (partner.spinup < 41) {
                this.shouldStop=true;
              }
              if (partner.spinup >= 41) {
                if (partner.shouldStop) {
                  this.shouldStop=true;
                }
              }
              if (shouldStop) {
                this.spinup++;
                return;
              }
            }
          }
        }
        this.spinup++;
      }
 else       if (this.extendedLength < 0.5F && !this.shouldStop) {
        this.extendedLength+=0.1F;
        if (this.extendedTicks == 3) {
          if (this.getBlockMetadata() % 2 == 0 && !worldObj.isRemote)           spawnItems(x,y,z);
        }
        this.extendedTicks++;
      }
 else {
        this.isBreaking=false;
        this.spinup=0;
      }
    }
 else {
      if (this.extendedLength > 0.0F) {
        this.extendedLength-=0.025F;
        this.extendedTicks++;
        if (this.extendedLength < 0F)         this.extendedLength=0F;
      }
 else {
        this.isActive=false;
        this.extendedTicks=0;
        if (worldObj.getBlock(x,y,z) == SteamcraftBlocks.dummy) {
          worldObj.setBlockToAir(x,y,z);
        }
      }
    }
  }
 else   if (worldObj.getBlock(x,y,z) == SteamcraftBlocks.dummy && getBlockMetadata() % 2 == 0) {
    worldObj.setBlockToAir(x,y,z);
  }
  this.worldObj.markBlockForUpdate(xCoord,yCoord,zCoord);
}