Examples of AdaptorPlayerInventory


Examples of appeng.util.inv.AdaptorPlayerInventory

   
    IBetterStorage bs = (IBetterStorage) (AppEng.instance.isIntegrationEnabled( IntegrationType.BetterStorage ) ? AppEng.instance.getIntegration( IntegrationType.BetterStorage ) : null);
   
    if ( te instanceof EntityPlayer )
    {
      return new AdaptorIInventory( new AdaptorPlayerInventory( ((EntityPlayer) te).inventory, false ) );
    }
    else if ( te instanceof ArrayList )
    {
      return new AdaptorList( (ArrayList<ItemStack>) te );
    }
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.