Font.renderFrame(screen, "Cost", 12, 4, 19, 11);
Font.renderFrame(screen, "Crafting", 0, 1, 11, 11);
renderItemList(screen, 0, 1, 11, 11, recipes, selected);
if (recipes.size() > 0) {
Recipe recipe = recipes.get(selected);
int hasResultItems = player.inventory.count(recipe.resultTemplate);
int xo = 13 * 8;
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));