Package logisticspipes.utils

Examples of logisticspipes.utils.SidedInventoryMinecraftAdapter


    return InventoryHelper.getInventory((IInventory) tile);
  }
 
  private IInventory getInventory(ForgeDirection ori) {
    IInventory rawInventory = getRawInventory(ori);
    if (rawInventory instanceof net.minecraft.inventory.ISidedInventory) return new SidedInventoryMinecraftAdapter((net.minecraft.inventory.ISidedInventory) rawInventory, ori.getOpposite(), false);
    return rawInventory;
  }
View Full Code Here

TOP

Related Classes of logisticspipes.utils.SidedInventoryMinecraftAdapter

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.