Package forestry.core.inventory.wrappers

Examples of forestry.core.inventory.wrappers.IInvSlot


      return;
    }

    if (analyzeTime == 0) {
      // Look for bees in input slots.
      IInvSlot slot = getInputSlot();
      if (slot == null) {
        // Nothing to analyze
        setErrorState(EnumErrorCode.NOTHINGANALYZE);
        return;
      }
View Full Code Here


    if (getErrorState() != EnumErrorCode.OK)
      return false;

    // Look for bees in input slots.
    IInvSlot slot = getInputSlot();
    ItemStack inputStack = slot.getStackInSlot();
    setInventorySlotContents(SLOT_ANALYZE, inputStack);
    slot.setStackInSlot(null);
    resourceTank.drain(HONEY_REQUIRED, true);
    analyzeTime = TIME_TO_ANALYZE;
    sendNetworkUpdate();
    return true;
  }
View Full Code Here

TOP

Related Classes of forestry.core.inventory.wrappers.IInvSlot

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.