Examples of SlotFake


Examples of powercrystals.minefactoryreloaded.gui.slot.SlotFake

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

Examples of powercrystals.minefactoryreloaded.gui.slot.SlotFake

 
  @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

Examples of powercrystals.minefactoryreloaded.gui.slot.SlotFake

    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

Examples of powercrystals.minefactoryreloaded.gui.slot.SlotFake

    {
      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
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.