Examples of ItemSlot


Examples of buildcraft.core.gui.ItemSlot

    resetNullSlots(6 * 4);

    for (int i = 0; i < 6; ++i) {
      for (int j = 0; j < 4; ++j) {
        slots.set(i * 4 + j, new ItemSlot(this, 179 + j * 18, 18 + i * 18));
      }
    }
  }
 
View Full Code Here

Examples of uristqwerty.CraftGuide.api.ItemSlot

  public CraftGuideCentrifuge() {
    for (int i = 0; i < 3; i++)
      for (int j = 0; j < 3; j++)
        slots[i + j * 3] = new ChanceSlot(i * 18 + 24, j * 18 + 3, 16, 16).setRatio(100).setSlotType(SlotType.OUTPUT_SLOT).drawOwnBackground();
    slots[9] = new ItemSlot(4, 31, 16, 16, true).drawOwnBackground();
    slots[10] = new ItemSlot(4, 11, 16, 16).setSlotType(SlotType.MACHINE_SLOT);
  }
View Full Code Here

Examples of uristqwerty.CraftGuide.api.ItemSlot

  private final ItemSlot[] slots = new ItemSlot[10];

  public CraftGuideCustomRecipes() {
    for (int i = 0; i < 3; i++)
      for (int j = 0; j < 3; j++)
        slots[i + j * 3] = new ItemSlot(i * 18 + 3, j * 18 + 3, 16, 16);
    slots[9] = new ItemSlot(59, 21, 16, 16, true).setSlotType(SlotType.OUTPUT_SLOT);
  }
View Full Code Here

Examples of uristqwerty.CraftGuide.api.ItemSlot

  private final Slot[] slots = new Slot[12];

  public CraftGuideFabricator() {
    for (int i = 0; i < 3; i++)
      for (int j = 0; j < 3; j++)
        slots[i + j * 3] = new ItemSlot(i * 18 + 3, j * 18 + 3, 16, 16).drawOwnBackground();
    slots[9] = new ItemSlot(59, 21, 16, 16, true).setSlotType(SlotType.OUTPUT_SLOT).drawOwnBackground();
    slots[10] = new LiquidSlot(59, 39);
    slots[11] = new ItemSlot(59, 3, 16, 16).setSlotType(SlotType.MACHINE_SLOT);
  }
View Full Code Here

Examples of uristqwerty.CraftGuide.api.ItemSlot

public class CraftGuideFermenter implements RecipeProvider {

  private final Slot[] slots = new Slot[5];

  public CraftGuideFermenter() {
    slots[0] = new ItemSlot(3, 12, 16, 16, true);
    slots[1] = new ItemSlot(3, 30, 16, 16, true);
    slots[2] = new LiquidSlot(21, 21);
    slots[3] = new LiquidSlot(59, 21).setSlotType(SlotType.OUTPUT_SLOT);
    slots[4] = new ItemSlot(40, 21, 16, 16).setSlotType(SlotType.MACHINE_SLOT);
  }
View Full Code Here

Examples of uristqwerty.CraftGuide.api.ItemSlot

public class CraftGuideBottler implements RecipeProvider {

  private final Slot[] slots = new Slot[4];

  public CraftGuideBottler() {
    slots[0] = new ItemSlot(12, 12, 16, 16).drawOwnBackground();
    slots[1] = new LiquidSlot(12, 30);
    slots[2] = new ItemSlot(50, 21, 16, 16).setSlotType(SlotType.OUTPUT_SLOT).drawOwnBackground();
    slots[3] = new ItemSlot(31, 21, 16, 16).setSlotType(SlotType.MACHINE_SLOT);
  }
View Full Code Here

Examples of uristqwerty.CraftGuide.api.ItemSlot

  private final Slot[] slots = new Slot[12];

  public CraftGuideSqueezer() {
    for (int i = 0; i < 3; i++)
      for (int j = 0; j < 3; j++)
        slots[i + j * 3] = new ItemSlot(i * 18 + 3, j * 18 + 3, 16, 16).drawOwnBackground();
    slots[9] = new ChanceSlot(59, 39, 16, 16, true).setRatio(100).setSlotType(SlotType.OUTPUT_SLOT).drawOwnBackground();
    slots[10] = new LiquidSlot(59, 21).setSlotType(SlotType.OUTPUT_SLOT);
    slots[11] = new ItemSlot(59, 3, 16, 16).setSlotType(SlotType.MACHINE_SLOT);
  }
View Full Code Here

Examples of uristqwerty.CraftGuide.api.ItemSlot

  private final Slot[] slots = new Slot[3];

  public CraftGuideStill() {
    slots[0] = new LiquidSlot(12, 21);
    slots[1] = new LiquidSlot(50, 21).setSlotType(SlotType.OUTPUT_SLOT);
    slots[2] = new ItemSlot(31, 21, 16, 16).setSlotType(SlotType.MACHINE_SLOT);
  }
View Full Code Here

Examples of uristqwerty.CraftGuide.api.ItemSlot

  private final Slot[] slots = new Slot[12];

  public CraftGuideCarpenter() {
    for (int i = 0; i < 3; i++)
      for (int j = 0; j < 3; j++)
        slots[i + j * 3] = new ItemSlot(i * 18 + 3, j * 18 + 3, 16, 16).drawOwnBackground();
    slots[9] = new ItemSlot(59, 21, 16, 16, true).setSlotType(SlotType.OUTPUT_SLOT).drawOwnBackground();
    slots[10] = new LiquidSlot(59, 39);
    slots[11] = new ItemSlot(59, 3, 16, 16).setSlotType(SlotType.MACHINE_SLOT);
  }
View Full Code Here

Examples of uristqwerty.CraftGuide.api.ItemSlot

    private final ItemSlot[] slots = new ItemSlot[11];

    public RollingMachinePlugin() {
        for(int i = 0; i < 3; i++) {
            for(int j = 0; j < 3; j++) {
                slots[i + j * 3] = new ItemSlot(i * 18 + 3, j * 18 + 3, 16, 16);
            }
        }
        slots[9] = new ItemSlot(59, 31, 16, 16, true).setSlotType(SlotType.OUTPUT_SLOT);
        slots[10] = new ItemSlot(59, 11, 16, 16).setSlotType(SlotType.MACHINE_SLOT);
    }
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.