Examples of IUpgradeModule


Examples of appeng.api.implementations.items.IUpgradeModule

      else if ( te instanceof IUpgradeableHost )
        upgrades = ((IUpgradeableHost) te).getInventoryByName( "upgrades" );

      if ( upgrades != null && is != null && is.getItem() instanceof IUpgradeModule )
      {
        IUpgradeModule um = (IUpgradeModule) is.getItem();
        Upgrades u = um.getType( is );

        if ( u != null )
        {
          InventoryAdaptor ad = InventoryAdaptor.getAdaptor( upgrades, ForgeDirection.UNKNOWN );
          if ( ad != null )
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.