long conductorBuffer = 0;
//No energy nothing should happen
if (amount > 0)
{
//Fire event giving other mods a change to interact with this network
EnergyProduceEvent evt = new EnergyProduceEvent(this, conductor, amount, doReceive);
MinecraftForge.EVENT_BUS.post(evt);
if (!evt.isCanceled())
{
if (conductorBuffers.containsKey(conductor))
{
conductorBuffer = conductorBuffers.get(conductor);
}