Package logisticspipes.interfaces.routing

Examples of logisticspipes.interfaces.routing.IProvideItems


      if(!r.containsFlag(PipeRoutingConnectionType.canRequestFrom)) continue;
      if (!(r.destination.getPipe() instanceof IProvideItems)) continue;
      for(IFilter filter:r.filters) {
        if(filter.blockProvider()) continue outer;
      }
      IProvideItems provider = (IProvideItems) r.destination.getPipe();
      provider.getAllItems(items.get(r.destination.getSimpleID()), r.filters);
      used.set(r.destination.getSimpleID(), true);
    }
    //TODO: Fix this doubly nested list
    HashMap<ItemIdentifier, Integer> allAvailableItems = new HashMap<ItemIdentifier, Integer>();
    for(Map<ItemIdentifier, Integer> allItems:items) {
View Full Code Here


      if(!r.containsFlag(PipeRoutingConnectionType.canRequestFrom)) continue;
      if(!(r.destination.getPipe() instanceof IProvideItems)) continue;
      for(IFilter filter: r.filters) {
        if(filter.blockProvider()) continue outer;
      }
      IProvideItems provider = (IProvideItems)r.destination.getPipe();
      provider.getAllItems(items.get(r.destination.getSimpleID()), r.filters);
      used.set(r.destination.getSimpleID(), true);
    }
    // TODO: Fix this doubly nested list
    int amount = 0;
    for(Map<ItemIdentifier, Integer> allItems: items) {
View Full Code Here

TOP

Related Classes of logisticspipes.interfaces.routing.IProvideItems

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.