Examples of RedNetConnectionType


Examples of powercrystals.minefactoryreloaded.api.rednet.RedNetConnectionType

        }
      }
      else
      {
        int subnet = getSideColor(bp.orientation);
        RedNetConnectionType connectionType = getConnectionState(bp.orientation);
       
        if(!worldObj.isAirBlock(bp.x, bp.y, bp.z))
        {
          if(connectionType == RedNetConnectionType.CableSingle)
          {
View Full Code Here

Examples of powercrystals.minefactoryreloaded.api.rednet.RedNetConnectionType

    setCreativeTab(MFRCreativeTab.tab);
  }
 
  private AxisAlignedBB[] getParts(TileEntityRedNetCable cable)
  {
    RedNetConnectionType csu = cable.getConnectionState(ForgeDirection.UP);
    RedNetConnectionType csd = cable.getConnectionState(ForgeDirection.DOWN);
    RedNetConnectionType csn = cable.getConnectionState(ForgeDirection.NORTH);
    RedNetConnectionType css = cable.getConnectionState(ForgeDirection.SOUTH);
    RedNetConnectionType csw = cable.getConnectionState(ForgeDirection.WEST);
    RedNetConnectionType cse = cable.getConnectionState(ForgeDirection.EAST);
   
    AxisAlignedBB[] parts = new AxisAlignedBB[15];
   
    parts[0] = AxisAlignedBB.getBoundingBox(csw != RedNetConnectionType.None ? 0 : _wireStart, _wireStart, _wireStart, cse != RedNetConnectionType.None ? 1 : _wireEnd, _wireEnd, _wireEnd);
    parts[1] = AxisAlignedBB.getBoundingBox(_wireStart, csd != RedNetConnectionType.None ? 0 : _wireStart, _wireStart, _wireEnd, csu != RedNetConnectionType.None ? 1 : _wireEnd, _wireEnd);
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.