Package crazypants.enderio.conduit.power.PowerConduitNetwork

Examples of crazypants.enderio.conduit.power.PowerConduitNetwork.ReceptorEntry


    while (available > 0 && appliedCount < numReceptors) {

      if(!receptors.isEmpty() && !receptorIterator.hasNext()) {
        receptorIterator = receptors.listIterator();
      }
      ReceptorEntry r = receptorIterator.next();
      IPowerInterface pp = r.powerInterface;
      if(pp != null) {       
        int canOffer = Math.min(r.emmiter.getMaxEnergyExtracted(r.direction), available);
        int used = pp.recieveEnergy(r.direction.getOpposite(), canOffer);
        trackerSend(r.emmiter, used, false);
View Full Code Here

TOP

Related Classes of crazypants.enderio.conduit.power.PowerConduitNetwork.ReceptorEntry

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.