Package forestry.core.gui.slots

Examples of forestry.core.gui.slots.SlotClosed


      addSlot(new SlotCustom(tile, TileEscritoire.SLOT_INPUT_1 + i, 17, 49 + i * 18, true).setBlockedTexture("slots/blocked_2"));
    }

    for(int i = 0; i < 3; i++)
      for(int j = 0; j < 2; j++) {
        addSlot(new SlotClosed(tile, TileEscritoire.SLOT_RESULTS_1 + (i*2) + j, 177 + j*18, 85 + i*18));
      }

    // Player inventory
    for (int i = 0; i < 3; i++)
      for (int j = 0; j < 9; j++)
View Full Code Here


        for (int j = 0; j < 9; j++)
          addSlot(new SlotCustom(inventory, Letter.SLOT_ATTACHMENT_1 + j + i * 9, 17 + j * 18, 98 + i * 18, true, new Object[] { ItemLetter.class }));
    else
      for (int i = 0; i < 2; i++)
        for (int j = 0; j < 9; j++)
          addSlot(new SlotClosed(inventory, Letter.SLOT_ATTACHMENT_1 + j + i * 9, 17 + j * 18, 98 + i * 18));

    // Player inventory
    for (int i = 0; i < 3; i++)
      for (int j = 0; j < 9; j++)
        addSecuredSlot(player.inventory, j + i * 9 + 9, 17 + j * 18, 145 + i * 18);
 
View Full Code Here

    if (inv instanceof POBox)
      mailinventory = (POBox) inv;

    for (int i = 0; i < 7; i++)
      for (int j = 0; j < 12; j++)
        addSlot(new SlotClosed(inv, j + i * 9, 8 + j * 18, 8 + i * 18));

    // Player inventory
    for (int i = 0; i < 3; i++)
      for (int j = 0; j < 9; j++)
        addSlot(new Slot(player, j + i * 9 + 9, 35 + j * 18, 145 + i * 18));
 
View Full Code Here

    addSlot(new SlotCustom(tile, MachinePhilatelist.SLOT_FILTER, 80, 19, new Object[] { ItemStamps.class }));

    // Collected Stamps
    for (int i = 0; i < 3; i++)
      for (int j = 0; j < 9; j++)
        addSlot(new SlotClosed(tile, j + i * 9 + MachinePhilatelist.SLOT_BUFFER_1, 8 + j * 18, 46 + i * 18));

    // Player inventory
    for (int i = 0; i < 3; i++)
      for (int j = 0; j < 9; j++)
        addSlot(new Slot(player, j + i * 9 + 9, 8 + j * 18, 111 + i * 18));
 
View Full Code Here

    super(tile);

    this.engine = tile;
    this.addSlot(new Slot(tile, 0, 44, 46));

    this.addSlot(new SlotClosed(tile, 1, 98, 35));
    this.addSlot(new SlotClosed(tile, 2, 98, 53));
    this.addSlot(new SlotClosed(tile, 3, 116, 35));
    this.addSlot(new SlotClosed(tile, 4, 116, 53));

    for (int i = 0; i < 3; ++i)
      for (int j = 0; j < 9; ++j)
        this.addSlot(new Slot(player, j + i * 9 + 9, 8 + j * 18, 84 + i * 18));

 
View Full Code Here

    for (int l = 0; l < 3; l++)
      for (int k = 0; k < 3; k++)
        addSlot(new Slot(tile, k + l * 3, 19 + k * 18, 18 + l * 18));

    // Remnants slot
    this.addSlot(new SlotClosed(tile, 9, 123, 19));

    // Can slot
    this.addSlot(new SlotLiquidContainer(tile, 10, 106, 55, true));
    // Output slot
    this.addSlot(new SlotClosed(tile, 11, 140, 55));

    // Player inventory
    for (int i1 = 0; i1 < 3; i1++)
      for (int l1 = 0; l1 < 9; l1++)
        addSlot(new Slot(player, l1 + i1 * 9 + 9, 8 + l1 * 18, 84 + i1 * 18));
 
View Full Code Here

  public ContainerRaintank(InventoryPlayer player, MachineRaintank tile) {
    super(tile, tile);

    this.tile = tile;
    this.addSlot(new SlotLiquidContainer(tile, MachineRaintank.SLOT_RESOURCE, 116, 19, true));
    this.addSlot(new SlotClosed(tile, MachineRaintank.SLOT_PRODUCT, 116, 55));

    for (int i = 0; i < 3; ++i)
      for (int j = 0; j < 9; ++j)
        this.addSlot(new Slot(player, j + i * 9 + 9, 8 + j * 18, 84 + i * 18));

 
View Full Code Here

  public ContainerBottler(InventoryPlayer player, MachineBottler tile) {
    super(tile, tile);

    this.tile = tile;
    this.addSlot(new SlotLiquidContainer(tile, MachineBottler.SLOT_RESOURCE, 116, 19, true));
    this.addSlot(new SlotClosed(tile, MachineBottler.SLOT_PRODUCT, 116, 55));
    this.addSlot(new SlotLiquidContainer(tile, MachineBottler.SLOT_CAN, 26, 38));

    int var3;
    for (var3 = 0; var3 < 3; ++var3)
      for (int var4 = 0; var4 < 9; ++var4)
View Full Code Here

    this.addSlot(new Slot(tile, 0, 34, 37));

    // Product Inventory
    for (int l = 0; l < 3; l++)
      for (int k = 0; k < 3; k++)
        addSlot(new SlotClosed(tile, 1 + k + l * 3, 98 + k * 18, 19 + l * 18));

    // Player inventory
    for (int i1 = 0; i1 < 3; i1++)
      for (int l1 = 0; l1 < 9; l1++)
        addSlot(new Slot(player, l1 + i1 * 9 + 9, 8 + l1 * 18, 84 + i1 * 18));
 
View Full Code Here

    // Drone
    this.addSlot(new SlotCustom(tile, TileAlvearyPlain.SLOT_DRONE, 29, 65, new Object[] { ForestryItem.beeDroneGE }));

    // Product Inventory
    this.addSlot(new SlotClosed(tile, 2, 116, 52));
    this.addSlot(new SlotClosed(tile, 3, 137, 39));
    this.addSlot(new SlotClosed(tile, 4, 137, 65));
    this.addSlot(new SlotClosed(tile, 5, 116, 78));
    this.addSlot(new SlotClosed(tile, 6, 95, 65));
    this.addSlot(new SlotClosed(tile, 7, 95, 39));
    this.addSlot(new SlotClosed(tile, 8, 116, 26));

    // Player inventory
    for (int i = 0; i < 3; i++)
      for (int j = 0; j < 9; j++)
        addSlot(new Slot(player, j + i * 9 + 9, 8 + j * 18, 108 + i * 18));
 
View Full Code Here

TOP

Related Classes of forestry.core.gui.slots.SlotClosed

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.