Package appeng.api.storage.data

Examples of appeng.api.storage.data.IItemList


            ItemStack is = r.getCraftingResult( ic );

            if ( is != null )
            {
              IMEMonitor<IAEItemStack> storage = inv.getItemInventory();
              IItemList all = storage.getStorageList();
              IPartitionList<IAEItemStack> filter = ItemViewCell.createFilter( cct.getViewCells() );

              for (int x = 0; x < craftMatrix.getSizeInventory(); x++)
              {
                ItemStack PatternItem = ic.getStackInSlot( x );
View Full Code Here


        shots += cu.getInstalledUpgrades( Upgrades.SPEED );

      IMEInventory inv = AEApi.instance().registries().cell().getCellInventory( item, null, StorageChannel.ITEMS );
      if ( inv != null )
      {
        IItemList itemList = inv.getAvailableItems( AEApi.instance().storage().createItemList() );
        IAEStack aeAmmo = itemList.getFirstItem();
        if ( aeAmmo instanceof IAEItemStack )
        {
          shots = Math.min( shots, (int) aeAmmo.getStackSize() );
          for (int sh = 0; sh < shots; sh++)
          {
View Full Code Here

TOP

Related Classes of appeng.api.storage.data.IItemList

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.