Examples of PipeItemsFluidSupplier


Examples of logisticspipes.pipes.PipeItemsFluidSupplier

      if (((PipeWrapper)pipe).tile.pipe instanceof PipeItemsSupplierLogistics) {
        PipeItemsSupplierLogistics supplier = (PipeItemsSupplierLogistics) ((PipeWrapper)pipe).tile.pipe;
        return supplier.isRequestFailed();
      }
      if (((PipeWrapper)pipe).tile.pipe instanceof PipeItemsFluidSupplier) {
        PipeItemsFluidSupplier supplier = (PipeItemsFluidSupplier) ((PipeWrapper)pipe).tile.pipe;
        return supplier.isRequestFailed();
      }
    }
    return false;
  }
View Full Code Here

Examples of logisticspipes.pipes.PipeItemsFluidSupplier

      if(pipe.pipe instanceof PipeFluidSupplierMk2 && pipe.pipe instanceof PipeFluidSupplierMk2) {
        ((PipeFluidSupplierMk2)pipe.pipe).setRequestingPartials((getInteger() % 10) == 1);
      }
    } else {
      if(pipe.pipe instanceof PipeItemsFluidSupplier) {
        PipeItemsFluidSupplier liquid = (PipeItemsFluidSupplier) pipe.pipe;
        ((PipeItemsFluidSupplier)liquid).setRequestingPartials((getInteger() % 10) == 1);
      }
      if(pipe.pipe instanceof PipeFluidSupplierMk2) {
        PipeFluidSupplierMk2 liquid = (PipeFluidSupplierMk2) pipe.pipe;
        ((PipeFluidSupplierMk2)liquid).setRequestingPartials((getInteger() % 10) == 1);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.