Package forestry.core.inventory.manipulators

Examples of forestry.core.inventory.manipulators.InventoryManipulator.moveItem()


   * @param filer an IItemType to match against
   * @return null if nothing was moved, the stack moved otherwise
   */
  public static ItemStack moveOneItem(IInventory source, IInventory dest, IStackFilter filter) {
    InventoryManipulator imSource = InventoryManipulator.get(source);
    return imSource.moveItem(dest, filter);
  }

  /**
   * Attempts to move one item from a collection of inventories.
   *
 
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.