Package appeng.api.implementations.items

Examples of appeng.api.implementations.items.IStorageComponent


    ItemStack is = inv.getStackInSlot( 2 );
    if ( is != null )
    {
      if ( is.getItem() instanceof IStorageComponent )
      {
        IStorageComponent sc = (IStorageComponent) is.getItem();
        if ( sc.isStorageComponent( is ) )
          return sc.getBytes( is ) * 8;
      }
    }
    return 0;
  }
View Full Code Here

TOP

Related Classes of appeng.api.implementations.items.IStorageComponent

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.