Package mffs.slot

Examples of mffs.slot.SlotBase


    /**
     * Force Field Manipulation Matrix. Center slot is the mode.
     */
    // Mode
    this.addSlotToContainer(new SlotBase(tileEntity, 2, 118, 45));

    int i = 3;
    // Misc Modules
    for (int xSlot = 0; xSlot < 4; xSlot++)
    {
      for (int ySlot = 0; ySlot < 4; ySlot++)
      {
        if (!(xSlot == 1 && ySlot == 1) && !(xSlot == 2 && ySlot == 2) && !(xSlot == 1 && ySlot == 2) && !(xSlot == 2 && ySlot == 1))
        {
          this.addSlotToContainer(new SlotBase(tileEntity, i, 91 + 18 * xSlot, 18 + 18 * ySlot));
          i++;
        }
      }
    }

    // Misc Modules
    for (int xSlot = 0; xSlot < 3; xSlot++)
    {
      for (int ySlot = 0; ySlot < 2; ySlot++)
      {
        this.addSlotToContainer(new SlotBase(tileEntity, i, 31 + 18 * xSlot, 36 + 18 * ySlot));
        i++;
      }
    }

    this.addPlayerInventory(player);
 
View Full Code Here


    /**
     * Force Field Manipulation Matrix. Center slot is the mode.
     */
    // Mode
    this.addSlotToContainer(new SlotBase(tileEntity, 2, 118, 45));

    int i = 3;
    // Misc Modules
    for (int xSlot = 0; xSlot < 4; xSlot++)
    {
      for (int ySlot = 0; ySlot < 4; ySlot++)
      {
        if (!(xSlot == 1 && ySlot == 1) && !(xSlot == 2 && ySlot == 2) && !(xSlot == 1 && ySlot == 2) && !(xSlot == 2 && ySlot == 1))
        {
          this.addSlotToContainer(new SlotBase(tileEntity, i, 91 + 18 * xSlot, 18 + 18 * ySlot));
          i++;
        }
      }
    }

    // Misc Modules
    for (int xSlot = 0; xSlot < 3; xSlot++)
    {
      for (int ySlot = 0; ySlot < 2; ySlot++)
      {
        this.addSlotToContainer(new SlotBase(tileEntity, i, 31 + 18 * xSlot, 19 + 18 * ySlot));
        i++;
      }
    }

    this.addPlayerInventory(player);
 
View Full Code Here

    /**
     * Frequency Card
     */
    this.addSlotToContainer(new SlotCard(tileEntity, 0, 87, 89));
    this.addSlotToContainer(new SlotBase(tileEntity, 1, 69, 89));

    /**
     * Module slots.
     */
    for (int var3 = 0; var3 < 2; var3++)
    {
      for (int var4 = 0; var4 < 4; var4++)
      {
        this.addSlotToContainer(new SlotBase(tileEntity, var4 + var3 * 4 + 2, 99 + var4 * 18, 31 + var3 * 18));
      }
    }

    /**
     * Item filter slots.
     */
    for (int var4 = 0; var4 < 9; var4++)
    {
      this.addSlotToContainer(new SlotBase(tileEntity, var4 + 8 + 2, 9 + var4 * 18, 69));
    }

    this.addPlayerInventory(player);
  }
View Full Code Here

    this.addSlotToContainer(new SlotCard(tileEntity, 0, 9, 41));

    /**
     * Input
     */
    this.addSlotToContainer(new SlotBase(tileEntity, 1, 9, 83));
    this.addSlotToContainer(new SlotBase(tileEntity, 2, 9 + 20, 83));

    /**
     * Upgrades
     */
    this.addSlotToContainer(new SlotBase(tileEntity, 3, 154, 67));
    this.addSlotToContainer(new SlotBase(tileEntity, 4, 154, 87));
    this.addSlotToContainer(new SlotBase(tileEntity, 5, 154, 47));

    this.addPlayerInventory(player);
  }
View Full Code Here

    // Frequency Card
    this.addSlotToContainer(new SlotCard(this.tileEntity, 0, 9, 74));
    this.addSlotToContainer(new SlotCard(this.tileEntity, 1, 27, 74));

    // Upgrades
    this.addSlotToContainer(new SlotBase(this.tileEntity, 2, 154, 47));
    this.addSlotToContainer(new SlotBase(this.tileEntity, 3, 154, 67));
    this.addSlotToContainer(new SlotBase(this.tileEntity, 4, 154, 87));

    this.addPlayerInventory(player);
  }
View Full Code Here

  {
    super(tileentity);

    this.addSlotToContainer(new SlotActive(tileentity, 0, 88, 91));

    this.addSlotToContainer(new SlotBase(tileentity, 1, 8, 46));
    this.addSlotToContainer(new SlotActive(tileentity, 2, 8, 91));

    for (int var4 = 0; var4 < 9; var4++)
    {
      this.addSlotToContainer(new SlotActive(tileentity, 3 + var4, 8 + var4 * 18, 111));
    }

    this.addSlotToContainer(new SlotBase(tileentity, TileBiometricIdentifier.SLOT_COPY, 8, 66));

    this.addPlayerInventory(player);
  }
View Full Code Here

TOP

Related Classes of mffs.slot.SlotBase

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.