Package powercrystals.minefactoryreloaded.gui.slot

Examples of powercrystals.minefactoryreloaded.gui.slot.SlotFake


  protected void addSlots()
  {
    for(int row = 0; row < 6; row++)
    {
      addSlotToContainer(new Slot(_te, row * 5, 8, 34 + row * 18));
      addSlotToContainer(new SlotFake(_te, row * 5 + 1, 44, 34 + row * 18));
      addSlotToContainer(new SlotPotionIngredient(_te, row * 5 + 2, 80, 34 + row * 18));
      addSlotToContainer(new SlotPotionIngredient(_te, row * 5 + 3, 98, 34 + row * 18));
      addSlotToContainer(new SlotPotionIngredient(_te, row * 5 + 4, 116, 34 + row * 18));
    }
    addSlotToContainer(new Slot(_te, 30, 8, 142));
View Full Code Here


  {
    for(int i = 0; i < 5; i++)
    {
      for(int j = 0; j < 9; j++)
      {
        addSlotToContainer(new SlotFake(_te, j + i * 9, 8 + j * 18, 40 + i * 18));
      }
    }
  }
 
View Full Code Here

  {
    for(int i = 0; i < 5; i++)
    {
      for(int j = 0; j < 9; j++)
      {
        addSlotToContainer(new SlotFake(_te, j + i * 9, 8 + j * 18, 40 + i * 18));
      }
    }
  }
 
View Full Code Here

  {
    for(int i = 0; i < 3; i++)
    {
      for(int j = 0; j < 3; j++)
      {
        addSlotToContainer(new SlotFake(_te, j + i * 3, 8 + j * 18, 20 + i * 18));
      }
    }
   
    addSlotToContainer(new SlotViewOnly(_te, 9, 80, 38));
    addSlotToContainer(new SlotRemoveOnly(_te, 10, 134, 38));
View Full Code Here

  @Override
  protected void addSlots()
  {
    for(int i = 0; i < 6; i++)
    {
      addSlotToContainer(new SlotFake(_te, i, 8 + i * 18, 20));
    }
  }
View Full Code Here

 
  @Override
  protected void addSlots()
  {
    //area control slots
    addSlotToContainer(new SlotFake(_te, 0, 8, 33));
    addSlotToContainer(new SlotFake(_te, 1, 26, 33));
    addSlotToContainer(new SlotFake(_te, 2, 44, 33));
    addSlotToContainer(new SlotFake(_te, 3, 8, 51));
    addSlotToContainer(new SlotFake(_te, 4, 26, 51));
    addSlotToContainer(new SlotFake(_te, 5, 44, 51));
    addSlotToContainer(new SlotFake(_te, 6, 8, 69));
    addSlotToContainer(new SlotFake(_te, 7, 26, 69));
    addSlotToContainer(new SlotFake(_te, 8, 44, 69));
   
    //upgrade slot
    addSlotToContainer(new SlotAcceptUpgrade(_te, 9, 152, 79));
   
    //resource slots
View Full Code Here

    for(int y = 0; y < 3; y++)
    {
      for(int x = 0; x < 3; x++)
      {
        addSlotToContainer(new SlotFake(_te, y * 3 + x + 2, 50 + x * 18, 23 + y * 18));
      }
    }
  }
 
View Full Code Here

    {
      if(!(o instanceof SlotFake))
      {
        continue;
      }
      SlotFake s = (SlotFake)o;
      if(x >= s.xDisplayPosition && x <= s.xDisplayPosition + 16 && y >= s.yDisplayPosition && y <= s.yDisplayPosition + 16)
      {
        PacketDispatcher.sendPacketToServer(PacketWrapper.createPacket(MineFactoryReloadedCore.modNetworkChannel, Packets.FakeSlotChange,
            new Object[] { _tileEntity.xCoord, _tileEntity.yCoord, _tileEntity.zCoord, s.slotNumber }));
      }
View Full Code Here

TOP

Related Classes of powercrystals.minefactoryreloaded.gui.slot.SlotFake

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.