Package logisticspipes.utils.item

Examples of logisticspipes.utils.item.ItemIdentifierInventory.readFromNBT()


                int size = module.getTagList(prefix + "items", module.getId()).tagCount();
                if(module.hasKey(prefix + "itemsCount")) {
                  size = module.getInteger(prefix + "itemsCount");
                }
                ItemIdentifierInventory inv = new ItemIdentifierInventory(size, "InformationTempInventory", Integer.MAX_VALUE);
                inv.readFromNBT(module, prefix);
                for(int pos=0;pos < inv.getSizeInventory();pos++) {
                  ItemIdentifierStack stack = inv.getIDStackInSlot(pos);
                  if(stack != null) {
                    if(stack.getStackSize() > 1) {
                      list.add("  " + stack.getStackSize()+"x " + stack.getFriendlyName());
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.