@Override
 public int getEnergyStored(EnumFacing from) {
   return energy.getEnergyStored();
 }
 @Override
 public NBTTagCompound writeToNBT(NBTTagCompound compound) {
   NBTHelper.setInt(compound, "energy", energy.getEnergyStored());
   return super.writeToNBT(compound);
 }