Package org.spout.api.inventory.util

Examples of org.spout.api.inventory.util.InventoryIterator


      viewed = inventory;
      viewingBlocks.add(block);

      MAX_ITEM_VALUE = inventory.size() * 64.0;

      InventoryIterator iter = inventory.iterator();
      while (iter.hasNext()) {
        ItemStack next = iter.next();
        if (next != null && !next.isEmpty()) {
          currentValue += getItemStackValue(next);
        }
      }
      updateRedstoneValue();
View Full Code Here

TOP

Related Classes of org.spout.api.inventory.util.InventoryIterator

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.