Package appeng.me.helpers

Examples of appeng.me.helpers.AENetworkProxy


    if(!ignoreConnectionMode && getConnectionMode(dir) == ConnectionMode.DISABLED) {
      return false;
    }

    if(te instanceof IGridProxyable) {
      AENetworkProxy proxy = ((IGridProxyable) te).getProxy();
      return proxy != null && proxy.getConnectableSides().contains(dir.getOpposite());
    } else if(te instanceof IPartHost) {
      IPart part = ((IPartHost) te).getPart(dir.getOpposite());
      if(part == null) {
        part = ((IPartHost) te).getPart(ForgeDirection.UNKNOWN);
        return part != null;
View Full Code Here


  final protected AENetworkProxy gridProxy = createProxy();

  protected AENetworkProxy createProxy()
  {
    return new AENetworkProxy( this, "proxy", getItemFromTile( this ), true );
  }
View Full Code Here

  protected final ItemStack is;

  public AEBasePart(Class c, ItemStack is) {
    this.is = is;
    proxy = new AENetworkProxy( this, "part", is, this instanceof PartCable );
    proxy.setValidSides( EnumSet.noneOf( ForgeDirection.class ) );
  }
View Full Code Here

TOP

Related Classes of appeng.me.helpers.AENetworkProxy

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.