Package appeng.api.me.util

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


  public boolean canFill(ForgeDirection from, Fluid fluid)
  {
    if (grid != null)
    {
      IMEInventoryHandler cellArray = grid.getCellArray();
      return cellArray != null && fluid != null && cellArray.canAccept(Util.createItemStack(new ItemStack(FLUIDDISPLAY.getItemInstance(), 1, fluid.getID())));
    }
    return false;
  }

  @Override
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.