Package logisticspipes.logisticspipes

Examples of logisticspipes.logisticspipes.ExtractionMode


  private IInventoryUtil getAdaptedInventoryUtil(AdjacentTile tile){
    IInventory base = (IInventory) tile.tile;
    if(base instanceof net.minecraft.inventory.ISidedInventory) {
      base = new SidedInventoryMinecraftAdapter((net.minecraft.inventory.ISidedInventory)base, tile.orientation.getOpposite(), true);
    }
    ExtractionMode mode = getExtractionMode();
    switch(mode){
      case LeaveFirst:
        return SimpleServiceLocator.inventoryUtilFactory.getHidingInventoryUtil(base, tile.orientation.getOpposite(), false, false, 1, 0);
      case LeaveLast:
        return SimpleServiceLocator.inventoryUtilFactory.getHidingInventoryUtil(base, tile.orientation.getOpposite(), false, false, 0, 1);
View Full Code Here

TOP

Related Classes of logisticspipes.logisticspipes.ExtractionMode

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.