Package logisticspipes.pipes.signs

Examples of logisticspipes.pipes.signs.ItemAmountPipeSign


public class ItemAmountSignCreationGui extends LogisticsBaseGuiScreen {
 
  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;
  }
View Full Code Here


  @Override
  public DummyContainer getContainer(EntityPlayer player) {
    LogisticsTileGenericPipe pipe = this.getPipe(player.getEntityWorld());
    if(pipe == null || !(pipe.pipe instanceof CoreRoutedPipe)) return null;
    ItemAmountPipeSign sign = ((ItemAmountPipeSign)((CoreRoutedPipe)pipe.pipe).getPipeSign(dir));
    DummyContainer dummy = new DummyContainer(player.inventory, sign.itemTypeInv);
    dummy.addDummySlot(0, 0, 0);
    dummy.addNormalSlotsForPlayerInventory(0, 0);
    return dummy;
  }
View Full Code Here

TOP

Related Classes of logisticspipes.pipes.signs.ItemAmountPipeSign

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.