Examples of countOfItemType()


Examples of appeng.api.me.util.IMEInventoryHandler.countOfItemType()

      {
        if (entry != null && cellArray != null)
        {
          IAEItemStack entryToAEIS = Util.createItemStack(new ItemStack(FLUIDDISPLAY.getItemInstance(), 1, entry.getID()));

          long contained = cellArray.countOfItemType(entryToAEIS);

          if (contained > 0)
          {
            int modeAmount = mode.getAmount() * tickRate;
            exportFluid(new FluidStack(entry, contained < modeAmount ? (int) contained : modeAmount), fluidHandler, ForgeDirection.getOrientation(getBlockMetadata()).getOpposite(), mode);
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.