Package forestry.core.inventory.wrappers

Examples of forestry.core.inventory.wrappers.SpecialInventoryMapper


  public static IInventory getInventory(IInventory inv, ForgeDirection side) {
    if (inv == null)
      return null;

    if (inv instanceof ISpecialInventory)
      inv = new SpecialInventoryMapper((ISpecialInventory) inv, side);
    else if (inv instanceof ISidedInventory)
      inv = new SidedInventoryMapper((ISidedInventory) inv, side);
    return inv;
  }
View Full Code Here

TOP

Related Classes of forestry.core.inventory.wrappers.SpecialInventoryMapper

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.