Examples of partList()


Examples of codechicken.multipart.TileMultipart.partList()

      BlockCoord loc = new BlockCoord( tile.xCoord, tile.yCoord, tile.zCoord );

      TileMultipart mp = TileMultipart.getOrConvertTile( tile.getWorldObj(), loc );
      if ( mp != null )
      {
        scala.collection.Iterator<TMultiPart> i = mp.partList().iterator();
        while (i.hasNext())
        {
          TMultiPart p = i.next();
          if ( p instanceof CableBusPart )
            return (IPartHost) p;
View Full Code Here

Examples of codechicken.multipart.TileMultipart.partList()

  public CableBusContainer getCableContainer(TileEntity te)
  {
    if ( te instanceof TileMultipart )
    {
      TileMultipart mp = (TileMultipart) te;
      scala.collection.Iterator<TMultiPart> i = mp.partList().iterator();
      while (i.hasNext())
      {
        TMultiPart p = i.next();
        if ( p instanceof CableBusPart )
          return ((CableBusPart) p).cb;
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.