Package logisticspipes.utils.item

Examples of logisticspipes.utils.item.ItemIdentifier.makeStack()


            if(!handled) {
              int i = 0;
              for(ItemIdentifierStack stack:macroItems) {
                if(item == stack.getItem() && item.itemDamage < stack.getItem().itemDamage) {
                  if(mousebutton == 0 || wheelup != 0) {
                    macroItems.add(i, item.makeStack(1 + (wheelup != 0 ? wheelup - 1: 0)));
                  } else if(mousebutton == 2) {
                    macroItems.add(i, item.makeStack(64));
                  }
                  handled = true;
                  break;
View Full Code Here


              for(ItemIdentifierStack stack:macroItems) {
                if(item == stack.getItem() && item.itemDamage < stack.getItem().itemDamage) {
                  if(mousebutton == 0 || wheelup != 0) {
                    macroItems.add(i, item.makeStack(1 + (wheelup != 0 ? wheelup - 1: 0)));
                  } else if(mousebutton == 2) {
                    macroItems.add(i, item.makeStack(64));
                  }
                  handled = true;
                  break;
                }
                if(Item.getIdFromItem(item.item) < Item.getIdFromItem(stack.getItem().item)) {
View Full Code Here

                  handled = true;
                  break;
                }
                if(Item.getIdFromItem(item.item) < Item.getIdFromItem(stack.getItem().item)) {
                  if(mousebutton == 0 || wheelup != 0) {
                    macroItems.add(i, item.makeStack(1 + (wheelup != 0 ? wheelup - 1: 0)));
                  } else if(mousebutton == 2) {
                    macroItems.add(i, item.makeStack(64));
                  }
                  handled = true;
                  break;
View Full Code Here

                }
                if(Item.getIdFromItem(item.item) < Item.getIdFromItem(stack.getItem().item)) {
                  if(mousebutton == 0 || wheelup != 0) {
                    macroItems.add(i, item.makeStack(1 + (wheelup != 0 ? wheelup - 1: 0)));
                  } else if(mousebutton == 2) {
                    macroItems.add(i, item.makeStack(64));
                  }
                  handled = true;
                  break;
                }
                i++;
View Full Code Here

                }
                i++;
              }
              if(!handled) {
                if(mousebutton == 0 || wheelup != 0) {
                  macroItems.addLast(item.makeStack(1 + (wheelup != 0 ? wheelup - 1: 0)));
                } else if(mousebutton == 2) {
                  macroItems.addLast(item.makeStack(64));
                }
              }
            }
View Full Code Here

              }
              if(!handled) {
                if(mousebutton == 0 || wheelup != 0) {
                  macroItems.addLast(item.makeStack(1 + (wheelup != 0 ? wheelup - 1: 0)));
                } else if(mousebutton == 2) {
                  macroItems.addLast(item.makeStack(64));
                }
              }
            }
            mousePosX = 0;
            mousePosY = 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.