Program: 30739
Project: 30739
Buggy source:
@Override public void renderInventory(AEBaseBlock blk,ItemStack is,RenderBlocks renderer,ItemRenderType type,Object[] obj){
  GL11.glEnable(32826);
  GL11.glColor4f(1.0F,1.0F,1.0F,1.0F);
  ResourceLocation loc=new ResourceLocation("String_Node_Str","String_Node_Str");
  Minecraft.getMinecraft().getTextureManager().bindTexture(loc);
  if (type == ItemRenderType.ENTITY) {
    GL11.glRotatef(-90.0f,0.0f,0.0f,1.0f);
    GL11.glScalef(1.0F,-1F,-1F);
    GL11.glScalef(2.5f,2.5f,2.5f);
    GL11.glTranslatef(-0.25F,-1.65F,-0.19F);
  }
 else {
    if (type == ItemRenderType.EQUIPPED_FIRST_PERSON)     GL11.glRotatef(15.3f,0.0f,0.0f,1.0f);
    GL11.glScalef(1.0F,-1F,-1F);
    GL11.glScalef(2.5f,2.5f,2.5f);
    if (type == ItemRenderType.EQUIPPED_FIRST_PERSON)     GL11.glTranslatef(0.3F,-1.65F,-0.19F);
 else     GL11.glTranslatef(0.2F,-1.65F,-0.19F);
  }
  long now=System.currentTimeMillis();
  if (type == ItemRenderType.EQUIPPED_FIRST_PERSON || type == ItemRenderType.INVENTORY || type == ItemRenderType.EQUIPPED) {
    EntityPlayer p=Minecraft.getMinecraft().thePlayer;
    if (type == ItemRenderType.EQUIPPED) {
      p=(EntityPlayer)obj[1];
      p.rotationYaw=p.renderYawOffset;
    }
    int x=(int)p.posX;
    int y=(int)p.posY;
    int z=(int)p.posZ;
    CompassResult cr=CompassManager.instance.getCompassDirection(0,x,y,z);
    for (int i=0; i < 3; i++)     for (int j=0; j < 3; j++)     CompassManager.instance.getCompassDirection(0,x + i - 1,y,z + j - 1);
    if (cr.hasResult) {
      if (cr.spin) {
        now=now % 100000;
        model.renderAll(((float)now / 50000.0f) * (float)Math.PI * 500.0f);
      }
 else {
        if (type == ItemRenderType.EQUIPPED_FIRST_PERSON) {
          float offRads=p.rotationYaw / 180.0f * (float)Math.PI;
          float adjustment=(float)Math.PI * 0.74f;
          model.renderAll((float)flipidiy(cr.rad + offRads + adjustment));
        }
 else {
          float offRads=p.rotationYaw / 180.0f * (float)Math.PI;
          float adjustment=(float)Math.PI * -0.74f;
          model.renderAll((float)flipidiy(cr.rad + offRads + adjustment));
        }
      }
    }
 else {
      now=now % 1000000;
      model.renderAll(((float)now / 500000.0f) * (float)Math.PI * 500.0f);
    }
  }
 else {
    now=now % 100000;
    model.renderAll(((float)now / 50000.0f) * (float)Math.PI * 500.0f);
  }
  GL11.glDisable(32826);
  GL11.glColor4f(1.0F,1.0F,1.0F,1.0F);
}

Fixed version (ground truth):
@Override public void renderInventory(AEBaseBlock blk,ItemStack is,RenderBlocks renderer,ItemRenderType type,Object[] obj){
  GL11.glEnable(32826);
  GL11.glColor4f(1.0F,1.0F,1.0F,1.0F);
  ResourceLocation loc=new ResourceLocation("String_Node_Str","String_Node_Str");
  Minecraft.getMinecraft().getTextureManager().bindTexture(loc);
  if (type == ItemRenderType.ENTITY) {
    GL11.glRotatef(-90.0f,0.0f,0.0f,1.0f);
    GL11.glScalef(1.0F,-1F,-1F);
    GL11.glScalef(2.5f,2.5f,2.5f);
    GL11.glTranslatef(-0.25F,-1.65F,-0.19F);
  }
 else {
    if (type == ItemRenderType.EQUIPPED_FIRST_PERSON)     GL11.glRotatef(15.3f,0.0f,0.0f,1.0f);
    GL11.glScalef(1.0F,-1F,-1F);
    GL11.glScalef(2.5f,2.5f,2.5f);
    if (type == ItemRenderType.EQUIPPED_FIRST_PERSON)     GL11.glTranslatef(0.3F,-1.65F,-0.19F);
 else     GL11.glTranslatef(0.2F,-1.65F,-0.19F);
  }
  long now=System.currentTimeMillis();
  if (type == ItemRenderType.EQUIPPED_FIRST_PERSON || type == ItemRenderType.INVENTORY || type == ItemRenderType.EQUIPPED) {
    EntityPlayer p=Minecraft.getMinecraft().thePlayer;
    float rYaw=p.rotationYaw;
    if (type == ItemRenderType.EQUIPPED) {
      p=(EntityPlayer)obj[1];
      rYaw=p.renderYawOffset;
    }
    int x=(int)p.posX;
    int y=(int)p.posY;
    int z=(int)p.posZ;
    CompassResult cr=CompassManager.instance.getCompassDirection(0,x,y,z);
    for (int i=0; i < 3; i++)     for (int j=0; j < 3; j++)     CompassManager.instance.getCompassDirection(0,x + i - 1,y,z + j - 1);
    if (cr.hasResult) {
      if (cr.spin) {
        now=now % 100000;
        model.renderAll(((float)now / 50000.0f) * (float)Math.PI * 500.0f);
      }
 else {
        if (type == ItemRenderType.EQUIPPED_FIRST_PERSON) {
          float offRads=rYaw / 180.0f * (float)Math.PI;
          float adjustment=(float)Math.PI * 0.74f;
          model.renderAll((float)flipidiy(cr.rad + offRads + adjustment));
        }
 else {
          float offRads=rYaw / 180.0f * (float)Math.PI;
          float adjustment=(float)Math.PI * -0.74f;
          model.renderAll((float)flipidiy(cr.rad + offRads + adjustment));
        }
      }
    }
 else {
      now=now % 1000000;
      model.renderAll(((float)now / 500000.0f) * (float)Math.PI * 500.0f);
    }
  }
 else {
    now=now % 100000;
    model.renderAll(((float)now / 50000.0f) * (float)Math.PI * 500.0f);
  }
  GL11.glDisable(32826);
  GL11.glColor4f(1.0F,1.0F,1.0F,1.0F);
}