Package appeng.parts.networking

Examples of appeng.parts.networking.PartCable


    {
      IPartHost ph = (IPartHost) ne;
      IPart pcx = ph.getPart( ForgeDirection.UNKNOWN );
      if ( pcx instanceof PartCable )
      {
        PartCable pc = (PartCable) pcx;
        if ( pc.isConnected( d.getOpposite() ) )
        {
          if ( covered )
            return pc.getCoveredTexture( pc.getCableColor() );
          return pc.getGlassTexture( pc.getCableColor() );
        }
      }
    }

    return null;
View Full Code Here

TOP

Related Classes of appeng.parts.networking.PartCable

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.