Package appeng.api.storage

Examples of appeng.api.storage.IMEInventoryHandler.canAccept()


  public boolean canFill(ForgeDirection from, Fluid fluid)
  {
    try
    {
      IMEInventoryHandler h = getHandler( StorageChannel.FLUIDS );
      return h.canAccept( AEFluidStack.create( new FluidStack( fluid, 1 ) ) );
    }
    catch (ChestNoHandler ignored)
    {
    }
    return false;
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.