Examples of addDummySlot()


Examples of logisticspipes.utils.gui.DummyContainer.addDummySlot()

        xOffset = 72;
        yOffset = 18;
       
        for (int row = 0; row < 3; row++){
          for (int column = 0; column < 3; column++){
            dummy.addDummySlot(column + row * 3, xOffset + column * 18, yOffset + row * 18);         
          }
        }
       
        MainProxy.sendPacketToPlayer(PacketHandler.getPacket(FluidSupplierMode.class).setInteger((((PipeItemsFluidSupplier)pipe.pipe).isRequestingPartials() ? 1 : 0)).setPosX(pipe.xCoord).setPosY(pipe.yCoord).setPosZ(pipe.zCoord), player);
          return dummy;
View Full Code Here

Examples of logisticspipes.utils.gui.DummyContainer.addDummySlot()

        xOffset = 72;
        yOffset = 18;
       
        for (int row = 0; row < 3; row++){
          for (int column = 0; column < 3; column++){
            dummy.addDummySlot(column + row * 3, xOffset + column * 18, yOffset + row * 18);         
          }
        }
        return dummy;
       
      case GuiIDs.GUI_SatelitePipe_ID:
View Full Code Here

Examples of logisticspipes.utils.gui.DummyContainer.addDummySlot()

        if(pipe == null || pipe.pipe == null || !((pipe.pipe instanceof PipeItemsFirewall))) return null;
        dummy = new DummyContainer(player.inventory, ((PipeItemsFirewall)pipe.pipe).inv);
        dummy.addNormalSlotsForPlayerInventory(33, 147);
        for(int i = 0;i < 6;i++) {
          for(int j = 0;j < 6;j++) {
            dummy.addDummySlot(i*6 + j, 0, 0);
          }
        }
        return dummy;
   
      case GuiIDs.GUI_Request_Table_ID:
View Full Code Here

Examples of logisticspipes.utils.gui.DummyContainer.addDummySlot()

          }
        }
        i = 0;
        for(int Y = 0;Y < 3;Y++) {
          for(int X = 0;X < 3;X++) {
            dummy.addDummySlot(i++, 0, 0);
          }
        }
        dummy.addCallableSlotHandler(0, ((PipeBlockRequestTable)pipe.pipe).resultInv, 0, 0, new ISlotClick() {
          @Override
          public ItemStack getResultForClick() {
View Full Code Here

Examples of logisticspipes.utils.gui.DummyContainer.addDummySlot()

    int xOffset = 72;
    int yOffset = 18;
   
    for (int row = 0; row < 3; row++){
      for (int column = 0; column < 3; column++){
        dummy.addDummySlot(column + row * 3, xOffset + column * 18, yOffset + row * 18);         
      }
    }
    this.inventorySlots = dummy;
   
    this.logic = logic;
View Full Code Here

Examples of logisticspipes.utils.gui.DummyContainer.addDummySlot()

 
  public ItemAmountSignCreationGui(EntityPlayer player, CoreRoutedPipe pipe, ForgeDirection dir) {
    super(180, 125, 0, 0);
    ItemAmountPipeSign sign = ((ItemAmountPipeSign)pipe.getPipeSign(dir));
    DummyContainer dummy = new DummyContainer(player.inventory, sign.itemTypeInv);
    dummy.addDummySlot(0, 10, 13);
    dummy.addNormalSlotsForPlayerInventory(10, 40);
    this.inventorySlots = dummy;
  }
 
  @Override
View Full Code Here

Examples of logisticspipes.utils.gui.DummyContainer.addDummySlot()

    if(module == null) return null;
    DummyContainer dummy = new DummyContainer(player.inventory, module.getFilterInventory());
    dummy.addNormalSlotsForPlayerInventory(8, 60);
    //Pipe slots
    for(int pipeSlot = 0; pipeSlot < 9; pipeSlot++){
      dummy.addDummySlot(pipeSlot, 8 + pipeSlot * 18, 18);
    }
    return dummy;
  }

  @Override
View Full Code Here

Examples of logisticspipes.utils.gui.DummyContainer.addDummySlot()

    ModuleFluidSupplier module = this.getLogisticsModule(player.getEntityWorld(), ModuleFluidSupplier.class);
    DummyContainer dummy = new DummyContainer(player.inventory, module.getFilterInventory());
    dummy.addNormalSlotsForPlayerInventory(8, 60);
    //Pipe slots
      for(int pipeSlot = 0; pipeSlot < 9; pipeSlot++){
        dummy.addDummySlot(pipeSlot, 8 + pipeSlot * 18, 18);
      }
      return dummy;
  }

  @Override
View Full Code Here

Examples of logisticspipes.utils.gui.DummyContainer.addDummySlot()

  @Override
  public DummyContainer getContainer(EntityPlayer player) {
    ModuleModBasedItemSink module = this.getLogisticsModule(player.getEntityWorld(), ModuleModBasedItemSink.class);
    if(module == null) return null;
    DummyContainer dummy = new DummyContainer(player.inventory, new ItemIdentifierInventory(1, "TMP", 1));
    dummy.addDummySlot(0, 0, 0);
    dummy.addNormalSlotsForPlayerInventory(0, 0);
    return dummy;
  }

  @Override
View Full Code Here

Examples of logisticspipes.utils.gui.DummyContainer.addDummySlot()

  @Override
  public DummyContainer getContainer(EntityPlayer player) {
    ModuleThaumicAspectSink module = this.getLogisticsModule(player.getEntityWorld(), ModuleThaumicAspectSink.class);
    if(module == null) return null;
    DummyContainer dummy = new DummyContainer(player.inventory, new ItemIdentifierInventory(1, "TMP", 1));
    dummy.addDummySlot(0, 0, 0);
    dummy.addNormalSlotsForPlayerInventory(0, 0);
    return dummy;
  }

  @Override
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.