Examples of MachineSource


Examples of appeng.api.networking.security.MachineSource

    if (dir.equals(ForgeDirection.UNKNOWN)) {
      throw new IllegalArgumentException("The direction must not be unknown");
    }
    this.tile = (ITileStorageMonitorable) tile;
    this.hideOnePerStack = hideOnePerStack || hideOne;
    source = new MachineSource(new LPActionHost(((IGridHost) tile).getGridNode(dir)));
    this.dir = dir;
  }
View Full Code Here

Examples of appeng.api.networking.security.MachineSource

        for (int x = 0; x < real.getSizeInventory(); x++)
        {
          ItemStack failed = real.getStackInSlot( x );
          if ( failed != null )
          {
            cellInv.injectItems( AEItemStack.create( failed ), Actionable.MODULATE, new MachineSource( ct ) );
          }
        }
      }

    }
View Full Code Here

Examples of appeng.api.networking.security.MachineSource

    cm.registerSetting( Settings.BLOCK, YesNo.NO );
    cm.registerSetting( Settings.INTERFACE_TERMINAL, YesNo.YES );

    iHost = ih;
    craftingTracker = new MultiCraftingTracker( iHost, 9 );
    mySrc = fluids.changeSource = items.changeSource = new MachineSource( iHost );
  }
View Full Code Here

Examples of appeng.api.networking.security.MachineSource

  }

  public void addTile(TileCraftingTile te)
  {
    if ( machineSrc == null || te.isCoreBlock )
      machineSrc = new MachineSource( te );

    te.isCoreBlock = false;
    te.markDirty();
    tiles.push( te );
View Full Code Here

Examples of appeng.api.networking.security.MachineSource

  class InterfaceInventory extends MEMonitorIInventory
  {

    public InterfaceInventory(DualityInterface tileInterface) {
      super( new AdaptorIInventory( tileInterface.storage ) );
      mySource = new MachineSource( iHost );
    }
View Full Code Here

Examples of appeng.api.networking.security.MachineSource

  public PartImportBus(ItemStack is) {
    super( PartImportBus.class, is );
    settings.registerSetting( Settings.REDSTONE_CONTROLLED, RedstoneMode.IGNORE );
    settings.registerSetting( Settings.FUZZY_MODE, FuzzyMode.IGNORE_ALL );
    mySrc = new MachineSource( this );
  }
View Full Code Here

Examples of appeng.api.networking.security.MachineSource

  {
    super( PartStorageBus.class, is );
    getConfigManager().registerSetting( Settings.ACCESS, AccessRestriction.READ_WRITE );
    getConfigManager().registerSetting( Settings.FUZZY_MODE, FuzzyMode.IGNORE_ALL );
    getConfigManager().registerSetting( Settings.STORAGE_FILTER, StorageFilter.EXTRACTABLE_ONLY );
    mySrc = new MachineSource( this );
  }
View Full Code Here

Examples of appeng.api.networking.security.MachineSource

        if ( inv instanceof MEMonitorIInventory )
        {
          MEMonitorIInventory h = (MEMonitorIInventory) inv;
          h.mode = (StorageFilter) getConfigManager().getSetting( Settings.STORAGE_FILTER );
          h.mySource = new MachineSource( this );
        }

        if ( inv instanceof MEMonitorIInventory )
          monitor = (MEMonitorIInventory) inv;
View Full Code Here

Examples of appeng.api.networking.security.MachineSource

  {
    super( PartExportBus.class, is );
    settings.registerSetting( Settings.REDSTONE_CONTROLLED, RedstoneMode.IGNORE );
    settings.registerSetting( Settings.FUZZY_MODE, FuzzyMode.IGNORE_ALL );
    settings.registerSetting( Settings.CRAFT_ONLY, YesNo.NO );
    mySrc = new MachineSource( this );
  }
View Full Code Here

Examples of appeng.api.networking.security.MachineSource

  {
    recalculateDisplay();
  }

  public TileDrive() {
    mySrc = new MachineSource( this );
    gridProxy.setFlags( GridFlags.REQUIRE_CHANNEL );
  }
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.