Package appeng.util.inv

Examples of appeng.util.inv.WrapperMCISidedInventory


    else if ( te instanceof ISidedInventory )
    {
      ISidedInventory si =(ISidedInventory)te;
      int[] slots = si.getAccessibleSlotsFromSide( d.ordinal() );
      if ( si.getSizeInventory() > 0 && slots != null && slots.length > 0 )
        return new AdaptorIInventory( new WrapperMCISidedInventory( si, d ) );
    }
    else if ( te instanceof IInventory )
    {
      IInventory i =(IInventory)te;
      if ( i.getSizeInventory() > 0 )
View Full Code Here


        {
          output = Platform.GetChestInv( te );
        }
        else if ( te instanceof ISidedInventory )
        {
          output = new WrapperMCISidedInventory( (ISidedInventory) te, side.getOpposite() );
        }
        else if ( te instanceof IInventory )
        {
          output = (IInventory) te;
        }
View Full Code Here

TOP

Related Classes of appeng.util.inv.WrapperMCISidedInventory

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.