Examples of IStorageComponent


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