Examples of SlotDefinition


Examples of crazypants.enderio.machine.SlotDefinition

  private List<ItemStack> containerItems;

  private ICapacitor capacitor;
 
  public TileCrafter() {
    super(new SlotDefinition(9, 1));
    containerItems = new ArrayList<ItemStack>();   
    setCapacitor(Capacitors.BASIC_CAPACITOR);   
  }
View Full Code Here

Examples of crazypants.enderio.machine.SlotDefinition

  private static final String NULL_ENTITY_NAME = "None";
 
  private ICapacitor capacitor;

  public TilePoweredSpawner() {
    super(new SlotDefinition(0, 0));
    logic.setEntityName(NULL_ENTITY_NAME);
    capacitor = CAP_ONE;
  }
View Full Code Here

Examples of crazypants.enderio.machine.SlotDefinition

  }

  private Mode mode;

  public TileAlloySmelter() {
    super(new SlotDefinition(3, 1));
    mode = Mode.ALL;
  }
View Full Code Here

Examples of crazypants.enderio.machine.SlotDefinition

      }
    }
  }

  private ItemStack sendItem(TileTransceiver from, int slot, ItemStack contents, TileTransceiver to) {
    SlotDefinition sd = to.getSlotDefinition();
    //try merging into existing stacks   
   
    boolean sendComplete = false;     // Only allow 1 stack per item type
    for (int i = sd.minOutputSlot; i <= sd.maxOutputSlot && !sendComplete; i++) {
      ItemStack existing = to.getStackInSlot(i);
View Full Code Here

Examples of crazypants.enderio.machine.SlotDefinition

  private static int IO_MB_TICK = 100;
 
  boolean tanksDirty = false;

  public TileVat() {
    super(new SlotDefinition(0, 1, -1, -1, -1, -1));
  }
View Full Code Here

Examples of crazypants.enderio.machine.SlotDefinition

  private boolean inFluidFill = false;
  private boolean inGetTankInfo = false;

  public TileTransceiver() {
    super(new SlotDefinition(8, 8, 0));
    for (ChannelType type : ChannelType.values()) {
      sendChannels.put(type, new ArrayList<Channel>());
      recieveChannels.put(type, new ArrayList<Channel>());
    }
    currentTask = new ContinuousTask(Config.transceiverUpkeepCostRF);
View Full Code Here

Examples of crazypants.enderio.machine.SlotDefinition

  protected int lastSendGbScaled = 0;
  private boolean useGrindingBall;
 
  public TileCrusher() {
    super(new SlotDefinition(2, 4));
  }
View Full Code Here

Examples of crazypants.enderio.machine.SlotDefinition

  private static final short MAX_POWER_USE_PER_TICK = 6;

  public TileEntityPainter() {
    // 0 = input slot, 1 = paint source, 2 = output slot
    super(new SlotDefinition(2, 1));
  }
View Full Code Here

Examples of crazypants.enderio.machine.SlotDefinition

  private EntityLivingBase fakePlayer;

  private ICapacitor capacitor;

  public TileSliceAndSplice() {
    super(new SlotDefinition(8, 1));
    capacitor = CAP_ONE;
  }
View Full Code Here

Examples of crazypants.enderio.machine.SlotDefinition

  public String notification = "";
  public boolean sendNotification = false;

  public TileFarmStation() {
    super(new SlotDefinition(6, 4, 1));
    setCapacitor(Capacitors.BASIC_CAPACITOR);   
  }
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.