Examples of SlotRestrictedInput


Examples of appeng.container.slot.SlotRestrictedInput

    super( ip, te.getInterfaceDuality().getHost() );

    myDuality = te.getInterfaceDuality();

    for (int x = 0; x < 9; x++)
      addSlotToContainer( new SlotRestrictedInput( SlotRestrictedInput.PlacableItemType.ENCODED_PATTERN, myDuality.getPatterns(), x, 8 + 18 * x, 90 + 7, invPlayer ) );

    for (int x = 0; x < 8; x++)
      addSlotToContainer( new SlotFake( myDuality.getConfig(), x, 17 + 18 * x, 35 ) );

    for (int x = 0; x < 8; x++)
View Full Code Here

Examples of appeng.container.slot.SlotRestrictedInput

    lockPlayerInventorySlot( ip.currentItem );

    for (int y = 0; y < 3; y++)
      for (int x = 0; x < 3; x++)
        addSlotToContainer( (new SlotRestrictedInput( SlotRestrictedInput.PlacableItemType.UPGRADES, te, y * 3 + x, 80 - 18 + x * 18, 37 - 18 + y * 18, invPlayer )) );

    bindPlayerInventory( ip, 0, 166 - /* height of player inventory */82 );
  }
View Full Code Here

Examples of appeng.container.slot.SlotRestrictedInput

  public ContainerWireless(InventoryPlayer ip, TileWireless te) {
    super( ip, te, null );
    wirelessTerminal = te;

    addSlotToContainer( boosterSlot = new SlotRestrictedInput( SlotRestrictedInput.PlacableItemType.RANGE_BOOSTER, wirelessTerminal, 0, 80, 47, invPlayer ) );

    bindPlayerInventory( ip, 0, 166 - /* height of player inventory */82 );
  }
View Full Code Here

Examples of appeng.container.slot.SlotRestrictedInput

  public ContainerInscriber(InventoryPlayer ip, TileInscriber te)
  {
    super( ip, te );
    ti = te;

    addSlotToContainer( top = new SlotRestrictedInput( SlotRestrictedInput.PlacableItemType.INSCRIBER_PLATE, ti, 0, 45, 16, invPlayer ) );
    addSlotToContainer( bottom = new SlotRestrictedInput( SlotRestrictedInput.PlacableItemType.INSCRIBER_PLATE, ti, 1, 45, 62, invPlayer ) );
    addSlotToContainer( middle = new SlotRestrictedInput( SlotRestrictedInput.PlacableItemType.INSCRIBER_INPUT, ti, 2, 63, 39, invPlayer ) );

    addSlotToContainer( new SlotOutput( ti, 3, 113, 40, -1 ) );

    bindPlayerInventory( ip, 0, getHeight() - /* height of player inventory */82 );

View Full Code Here

Examples of appeng.container.slot.SlotRestrictedInput

      addSlotToContainer( outputSlots[y] = new SlotPatternOutputs( output, this, y, 110, -76 + y * 18, 0, 0, 1 ) );
      outputSlots[y].renderDisabled = false;
      outputSlots[y].IIcon = -1;
    }

    addSlotToContainer( patternSlotIN = new SlotRestrictedInput( SlotRestrictedInput.PlacableItemType.BLANK_PATTERN, patternInv, 0, 147, -72 - 9, invPlayer ) );
    addSlotToContainer( patternSlotOUT = new SlotRestrictedInput( SlotRestrictedInput.PlacableItemType.ENCODED_PATTERN, patternInv, 1, 147, -72 + 34, invPlayer ) );

    patternSlotOUT.setStackLimit( 1 );

    bindPlayerInventory( ip, 0, 0 );
    updateOrderOfOutputSlots();
View Full Code Here

Examples of appeng.container.slot.SlotRestrictedInput

  public ContainerVibrationChamber(InventoryPlayer ip, TileVibrationChamber vibrationChamber) {
    super( ip, vibrationChamber, null );
    this.vibrationChamber = vibrationChamber;

    addSlotToContainer( new SlotRestrictedInput( SlotRestrictedInput.PlacableItemType.FUEL, vibrationChamber, 0, 80, 37, invPlayer ) );

    bindPlayerInventory( ip, 0, 166 - /* height of player inventory */82 );
  }
View Full Code Here

Examples of appeng.container.slot.SlotRestrictedInput

  public ContainerGrinder(InventoryPlayer ip, TileGrinder grinder) {
    super( ip, grinder, null );
    this.grinder = grinder;

    addSlotToContainer( new SlotRestrictedInput( SlotRestrictedInput.PlacableItemType.ORE, grinder, 0, 12, 17, invPlayer ) );
    addSlotToContainer( new SlotRestrictedInput( SlotRestrictedInput.PlacableItemType.ORE, grinder, 1, 12 + 18, 17, invPlayer ) );
    addSlotToContainer( new SlotRestrictedInput( SlotRestrictedInput.PlacableItemType.ORE, grinder, 2, 12 + 36, 17, invPlayer ) );

    addSlotToContainer( new SlotInaccessible( grinder, 6, 80, 40 ) );

    addSlotToContainer( new SlotOutput( grinder, 3, 112, 63, 2 * 16 + 15 ) );
    addSlotToContainer( new SlotOutput( grinder, 4, 112 + 18, 63, 2 * 16 + 15 ) );
View Full Code Here

Examples of appeng.container.slot.SlotRestrictedInput

          addSlotToContainer( new OptionalSlotFakeTypeOnly( config, this, y * 9 + x, xo, yo, x, y, y - 2 ) );
      }
    }

    IInventory upgrades = upgradeable.getInventoryByName( "upgrades" );
    addSlotToContainer( (new SlotRestrictedInput( SlotRestrictedInput.PlacableItemType.UPGRADES, upgrades, 0, 187, 8 + 0, invPlayer )).setNotDraggable() );
    addSlotToContainer( (new SlotRestrictedInput( SlotRestrictedInput.PlacableItemType.UPGRADES, upgrades, 1, 187, 8 + 18, invPlayer )).setNotDraggable() );
    addSlotToContainer( (new SlotRestrictedInput( SlotRestrictedInput.PlacableItemType.UPGRADES, upgrades, 2, 187, 8 + 18 * 2, invPlayer )).setNotDraggable() );
    addSlotToContainer( (new SlotRestrictedInput( SlotRestrictedInput.PlacableItemType.UPGRADES, upgrades, 3, 187, 8 + 18 * 3, invPlayer )).setNotDraggable() );
    addSlotToContainer( (new SlotRestrictedInput( SlotRestrictedInput.PlacableItemType.UPGRADES, upgrades, 4, 187, 8 + 18 * 4, invPlayer )).setNotDraggable() );
  }
View Full Code Here

Examples of appeng.container.slot.SlotRestrictedInput

    int x = 8;
    int y = 29;
    int offset = 0;

    IInventory cell = upgradeable.getInventoryByName( "cell" );
    addSlotToContainer( new SlotRestrictedInput( SlotRestrictedInput.PlacableItemType.WORKBENCH_CELL, cell, 0, 152, 8, invPlayer ) );

    IInventory inv = upgradeable.getInventoryByName( "config" );
    UpgradeInventoryWrapper = new Upgrades();// Platform.isServer() ? new Upgrades() : new AppEngInternalInventory(
                          // null, 3 * 8 );

View Full Code Here

Examples of appeng.container.slot.SlotRestrictedInput

  public ContainerSecurity(InventoryPlayer ip, ITerminalHost monitorable) {
    super( ip, monitorable, false );

    securityBox = (TileSecurity) monitorable;

    addSlotToContainer( configSlot = new SlotRestrictedInput( SlotRestrictedInput.PlacableItemType.BIOMETRIC_CARD, securityBox.configSlot, 0, 37, -33, ip ) );

    addSlotToContainer( wirelessIn = new SlotRestrictedInput( SlotRestrictedInput.PlacableItemType.ENCODABLE_ITEM, wirelessEncoder, 0, 212, 10, ip ) );
    addSlotToContainer( wirelessOut = new SlotOutput( wirelessEncoder, 1, 212, 68, -1 ) );

    bindPlayerInventory( ip, 0, 0 );
  }
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.