Package buildcraft.core.gui.slots

Examples of buildcraft.core.gui.slots.SlotPhantom


    super(table.getSizeInventory());
    this.workbench = table;

    for (int y = 0; y < 3; y++) {
      for (int x = 0; x < 3; x++) {
        addSlotToContainer(new SlotPhantom(table.getCraftingSlots(), x + y * 3, 33 + x * 18, 16 + y * 18));
      }
    }

    addSlotToContainer(new SlotUntouchable(table.getOutputSlot(), 0, 127, 34));

View Full Code Here


    this.pipe = pipe;
    this.playerInv = playerInventory;
    this.filterInv = pipe.getFilters();

    for (int i = 0; i < 9; i++) {
      addSlotToContainer(new SlotPhantom(filterInv, i, 8 + i * 18, 18));
    }

    for (int l = 0; l < 3; l++) {
      for (int k1 = 0; k1 < 9; k1++) {
        addSlotToContainer(new Slot(playerInventory, k1 + l * 9 + 9, 8 + k1 * 18, 79 + l * 18));
 
View Full Code Here

    addWidget(paintWidgets[0] = new PaintWidget(0, 51, 19));
    addWidget(paintWidgets[1] = new PaintWidget(1, 104, 19));
    addWidget(paintWidgets[2] = new PaintWidget(2, 51, 47));
    addWidget(paintWidgets[3] = new PaintWidget(3, 104, 47));

    addSlot(new SlotPhantom(filterInv, 0, 25, 21));
    addSlot(new SlotPhantom(filterInv, 1, 134, 21));
    addSlot(new SlotPhantom(filterInv, 2, 25, 49));
    addSlot(new SlotPhantom(filterInv, 3, 134, 49));

    for (int l = 0; l < 3; l++) {
      for (int k1 = 0; k1 < 9; k1++) {
        addSlotToContainer(new Slot(playerInventory, k1 + l * 9 + 9, 8 + k1 * 18, 84 + l * 18));
      }
 
View Full Code Here

    this.playerInv = playerInventory;
    this.filterInv = pipe.getFilters();

    for (int y = 0; y < 6; y++) {
      for (int x = 0; x < 9; x++) {
        addSlotToContainer(new SlotPhantom(filterInv, x + y * 9, 8 + x * 18, 18 + y * 18));
      }
    }

    for (int l = 0; l < 3; l++) {
      for (int k1 = 0; k1 < 9; k1++) {
View Full Code Here

TOP

Related Classes of buildcraft.core.gui.slots.SlotPhantom

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.