@Override
 public void detectAndSendChanges() {
   super.detectAndSendChanges();
   if (lastMana != te.getCurrentMana()) {
     for (ICrafting crafter : (List<ICrafting>) crafters) {
       crafter.sendProgressBarUpdate(this, 0, te.getCurrentMana());
     }
     lastMana = te.getCurrentMana();
   }
 }
 @Override
 @SideOnly(Side.CLIENT)
 public void updateProgressBar(int id, int value) {
   super.updateProgressBar(id, value);
   if (id == 0) {
     te.setMana(value);
   }
 }