Examples of SlotOutput


Examples of buildcraft.core.gui.slots.SlotOutput

      @Override
      public void onPickupFromSlot(EntityPlayer player, ItemStack itemstack) {
        tile.useLast = true;
      }
    });
    addSlotToContainer(new SlotOutput(tile, TileAutoWorkbench.SLOT_RESULT, 124, 35));
    for (int y = 0; y < 3; y++) {
      for (int x = 0; x < 3; x++) {
        addSlotToContainer(new SlotWorkbench(tile.craftMatrix, x + y * 3, 30 + x * 18, 17 + y * 18));
      }
    }
 
View Full Code Here

Examples of buildcraft.core.gui.slots.SlotOutput

    super(template.getSizeInventory());
    this.playerIInventory = player.inventory;
    this.architect = template;

    addSlotToContainer(new SlotArchitect(template, player, 0, 135, 35));
    addSlotToContainer(new SlotOutput(template, 1, 194, 35));

    for (int l = 0; l < 3; l++) {
      for (int k1 = 0; k1 < 9; k1++) {
        addSlotToContainer(new Slot(player.inventory, k1 + l * 9 + 9, 88 + k1 * 18, 84 + l * 18));
      }
 
View Full Code Here

Examples of buildcraft.core.gui.slots.SlotOutput

    super(library.getSizeInventory());
    this.playerInventory = player.inventory;
    this.library = library;

    addSlotToContainer(new SlotBlueprintLibrary(library, player, 0, 211, 61));
    addSlotToContainer(new SlotOutput(library, 1, 167, 61));

    addSlotToContainer(new SlotBlueprintLibrary(library, player, 2, 167, 79));
    addSlotToContainer(new SlotOutput(library, 3, 211, 79));

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

Examples of forestry.core.gui.slots.SlotOutput

    });

    // Output buffer
    for (int i = 0; i < 2; i++)
      for (int k = 0; k < 2; k++)
        addSlot(new SlotOutput(tile, TileAnalyzer.SLOT_OUTPUT_1 + i * 2 + k, 134 + k * 18, 48 + i * 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, 94 + i1 * 18));
 
View Full Code Here

Examples of forestry.core.gui.slots.SlotOutput

    }

    // Production 1
    for (int i = 0; i < 2; i++) {
      for (int j = 0; j < 2; j++) {
        addSlot(new SlotOutput(inventory, TileFarmPlain.SLOT_PRODUCTION_1 + j + i * 2, 123 + j * 18, 86 + i * 18));
      }
    }

    // Production 2
    for (int i = 0; i < 2; i++) {
      for (int j = 0; j < 2; j++) {
        addSlot(new SlotOutput(inventory, TileFarmPlain.SLOT_PRODUCTION_1 + 4 + j + i * 2, 164 + j * 18, 86 + i * 18));
      }
    }

    // Fertilizer
    addSlot(new SlotCustom(inventory, TileFarmPlain.SLOT_FERTILIZER, 63, 95, PluginFarming.farmFertilizer));
View Full Code Here

Examples of forestry.core.gui.slots.SlotOutput

    // Liquid Input
    this.addSlot(new SlotLiquidContainer(internalInventory, MachineCarpenter.SLOT_CAN_INPUT, 120, 20));
    // Boxes
    this.addSlot(new SlotCrate(this, internalInventory, MachineCarpenter.SLOT_BOX, 83, 20));
    // Product
    this.addSlot(new SlotOutput(internalInventory, MachineCarpenter.SLOT_PRODUCT, 120, 56));

    // CraftResult display
    addSlot(new SlotLocked(craftResult, 0, 80, 51));

    // Crafting matrix
View Full Code Here

Examples of forestry.core.gui.slots.SlotOutput

    super(fermenter, fermenter);

    this.fermenter = fermenter;
    this.addSlot(new SlotCustom(fermenter, MachineFermenter.SLOT_RESOURCE, 85, 23, true));
    this.addSlot(new SlotCustom(fermenter, MachineFermenter.SLOT_FUEL, 75, 57, true));
    this.addSlot(new SlotOutput(fermenter, MachineFermenter.SLOT_CAN_OUTPUT, 150, 58));
    this.addSlot(new SlotLiquidContainer(fermenter, MachineFermenter.SLOT_CAN_INPUT, 150, 22, true));
    this.addSlot(new SlotLiquidContainer(fermenter, MachineFermenter.SLOT_INPUT, 10, 40));

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

Examples of mekanism.common.inventory.slot.SlotOutput

  public ContainerPRC(InventoryPlayer inventory, TileEntityPRC tentity)
  {
    tileEntity = tentity;
    addSlotToContainer(new Slot(tentity, 0, 54, 35));
    addSlotToContainer(new SlotDischarge(tentity, 1, 141, 19));
    addSlotToContainer(new SlotOutput(tentity, 2, 116, 35));
    addSlotToContainer(new SlotMachineUpgrade(tentity, 3, 180, 11));
    int slotX;

    for(slotX = 0; slotX < 3; ++slotX)
    {
View Full Code Here

Examples of mekanism.common.inventory.slot.SlotOutput

  public ContainerChanceMachine(InventoryPlayer inventory, TileEntityChanceMachine tentity)
  {
    tileEntity = tentity;
    addSlotToContainer(new Slot(tentity, 0, 56, 17));
    addSlotToContainer(new SlotDischarge(tentity, 1, 56, 53));
    addSlotToContainer(new SlotOutput(tentity, 2, 116, 35));
    addSlotToContainer(new SlotMachineUpgrade(tentity, 3, 180, 11));
    addSlotToContainer(new SlotOutput(tentity, 4, 132, 35));
    int slotX;

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

Examples of mekanism.common.inventory.slot.SlotOutput

  public ContainerDynamicTank(InventoryPlayer inventory, TileEntityDynamicTank tentity)
  {
    tileEntity = tentity;
    addSlotToContainer(new Slot(tentity, 0, 146, 20));
    addSlotToContainer(new SlotOutput(tentity, 1, 146, 51));
    int slotX;

    for(slotX = 0; slotX < 3; ++slotX)
    {
      for(int slotY = 0; slotY < 9; ++slotY)
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.