screen.render(xo, 2 * 8, recipe.resultTemplate.getSprite(), recipe.resultTemplate.getColor(), 0);
Font.draw("" + hasResultItems, screen, xo + 8, 2 * 8, Color.get(-1, 555, 555, 555));
List<Item> costs = recipe.costs;
for (int i = 0; i < costs.size(); i++) {
Item item = costs.get(i);
int yo = (5 + i) * 8;
screen.render(xo, yo, item.getSprite(), item.getColor(), 0);
int requiredAmt = 1;
if (item instanceof ResourceItem) {
requiredAmt = ((ResourceItem) item).count;
}
int has = player.inventory.count(item);