Examples of moveItem()


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

Examples of mods.railcraft.common.util.inventory.manipulators.InventoryManipulator.moveItem()

     * @param filter an IStackFilter 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

Examples of org.openbp.guiclient.model.ModelConnector.moveItem()

        ModelQualifier destinationQualifier = new ModelQualifier(originalItem.getQualifier());
        destinationQualifier.setItem(newName);

        // Move the item if necessary
        modelConnector.moveItem(modifiedItem, destinationQualifier);
        modelConnector.updateItem(modifiedItem);
      }
    }
    catch (ModelException e)
    {
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.