In order to utilize renewable energy effectively, the generated surplus energy should be stored in batteries, and transferred to distant places with high demand in a microgrid. As a scalable mechanism for such energy transfer (energy interchange), we proposed an autonomous decentralized mechanism (ADM) based on Markov Chain Monte Carlo (MCMC), and clarified that our ADM accomplishes the global objective to quickly supply energy appropriately for energy demand all over the microgrid. In this paper, toward a resilient microgrid, we propose a method of directional energy interchange used in our ADM. We first design a method of the directional energy interchange to be able to quickly transfer energy in an appropriate direction on the basis of the advection-diffusion equation used in physics. Then, we investigate the performance of the proposed method through a simulation experiment considering energy shortage and emergency situations. Simulation results show that the proposed method (a) can quickly supply energy from a traditional centralized grid to a microgrid under energy shortage situations, and (b) can quickly gather distributed energy to a specific place (e.g., safe shelter) under emergency situations.