Package net.mcft.copy.betterstorage.misc

Examples of net.mcft.copy.betterstorage.misc.ItemIdentifier.matches()


    Queue<Integer> emptySlots = new LinkedList<Integer>();
   
    for (int slot = 0; slot < tempContents.length; slot++) {
      ItemStack stack = tempContents[slot];
      if (stack == null) { emptySlots.add(slot); continue; }
      if (!item.matches(stack)) continue;
      amount -= modifyItemsInSlot(slot, stack, itemData, amount);
      if (amount == 0) return;
    }
   
    while ((amount > 0) && (emptySlots.size() > 0))
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.