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;
}