Examples of AENetworkProxy


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

Examples of appeng.me.helpers.AENetworkProxy

  final protected AENetworkProxy gridProxy = createProxy();

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

Examples of appeng.me.helpers.AENetworkProxy

  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
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.