Examples of SlotOutput


Examples of appeng.container.slot.SlotOutput

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

    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 ) );
    addSlotToContainer( new SlotOutput( grinder, 5, 112 + 36, 63, 2 * 16 + 15 ) );

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

Examples of appeng.container.slot.SlotOutput

    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

Examples of appeng.container.slot.SlotOutput

    offX = 122;
    offY = 17;
    for (int y = 0; y < 3; y++)
      for (int x = 0; x < 2; x++)
        addSlotToContainer( new SlotOutput( cells, 6 + x + y * 2, offX + x * 18, offY + y * 18, SlotRestrictedInput.PlacableItemType.STORAGE_CELLS.IIcon ) );

    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() );
View Full Code Here

Examples of appeng.container.slot.SlotOutput

    if ( Platform.isServer() )
      network = spatialIOPort.getGridNode( ForgeDirection.UNKNOWN ).getGrid();

    addSlotToContainer( new SlotRestrictedInput( SlotRestrictedInput.PlacableItemType.SPATIAL_STORAGE_CELLS, spatialIOPort, 0, 52, 48, invPlayer ) );
    addSlotToContainer( new SlotOutput( spatialIOPort, 1, 113, 48, SlotRestrictedInput.PlacableItemType.SPATIAL_STORAGE_CELLS.IIcon ) );

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

Examples of appeng.container.slot.SlotOutput

    offX = 126;
    offY = 16;

    addSlotToContainer( new SlotRestrictedInput( SlotRestrictedInput.PlacableItemType.ENCODED_CRAFTING_PATTERN, mac, 10, offX, offY, invPlayer ) );
    addSlotToContainer( new SlotOutput( mac, 9, offX, offY + 32, -1 ) );

    offX = 122;
    offY = 17;

    IInventory upgrades = upgradeable.getInventoryByName( "upgrades" );
View Full Code Here

Examples of appeng.container.slot.SlotOutput

  public ContainerCondenser(InventoryPlayer ip, TileCondenser condenser) {
    super( ip, condenser, null );
    this.condenser = condenser;

    addSlotToContainer( new SlotRestrictedInput( SlotRestrictedInput.PlacableItemType.TRASH, condenser, 0, 51, 52, ip ) );
    addSlotToContainer( new SlotOutput( condenser, 1, 105, 52, -1 ) );
    addSlotToContainer( (new SlotRestrictedInput( SlotRestrictedInput.PlacableItemType.STORAGE_COMPONENT, condenser.getInternalInventory(), 2, 101, 26, ip )).setStackLimit( 1 ) );

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

Examples of buildcraft.core.gui.slots.SlotOutput

    super(0);

    map = iZonePlan;

    addSlotToContainer(new Slot(iZonePlan, 0, 233, 20));
    addSlotToContainer(new SlotOutput(iZonePlan, 1, 233, 68));

    // Player inventory
    for (int l = 0; l < 3; l++) {
      for (int k1 = 0; k1 < 9; k1++) {
        addSlotToContainer(new Slot(playerInventory, k1 + l * 9 + 9, 88 + k1 * 18, 138 + l * 18));
 
View Full Code Here

Examples of buildcraft.core.gui.slots.SlotOutput

      }
    }

    for (int y = 0; y < 3; y++) {
      for (int x = 0; x < 3; x++) {
        addSlotToContainer(new SlotOutput(workbench, 15 + x + y * 3, 109 + x * 18, 85 + y * 18));
      }
    }

    for (int l = 0; l < 3; l++) {
      for (int k1 = 0; k1 < 9; k1++) {
View Full Code Here

Examples of buildcraft.core.gui.slots.SlotOutput

    super(table.getSizeInventory());
    this.table = table;

    addSlot(new SlotValidated(table, TileIntegrationTable.SLOT_INPUT_A, 17, 28));
    addSlot(new SlotValidated(table, TileIntegrationTable.SLOT_INPUT_B, 53, 28));
    addSlot(new SlotOutput(table, TileIntegrationTable.SLOT_OUTPUT, 143, 44));
    addSlot(new SlotUntouchable(table.getRecipeOutput(), 0, 116, 44));

    for (int i = TileIntegrationTable.SLOT_OUTPUT + 1; i < 12; i++) {
      addSlot(new Slot(table, i, 8 + (i - (TileIntegrationTable.SLOT_OUTPUT + 1)) * 18, 69));
    }
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.