Package uristqwerty.CraftGuide.api

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


  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

  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

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

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

  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

  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

  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

    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

public class CustomRecipesPlugin implements RecipeProvider {

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

    public CustomRecipesPlugin() {
        slots[0] = new ItemSlot(59, 21, 16, 16, true).setSlotType(SlotType.OUTPUT_SLOT);

        for (int x = 0; x < 3; x++) {
            for (int y = 0; y < 3; y++) {
                slots[1 + x + y * 3] = new ItemSlot(3 + x * 18, 3 + y * 18, 16, 16, true).setSlotType(SlotType.INPUT_SLOT);
            }
        }
    }
View Full Code Here

TOP

Related Classes of uristqwerty.CraftGuide.api.ItemSlot

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.