}
protected void drawRecipe(ItemStack chip) {
if( chip == null )
return;
CraftRecipe recipe = RecipeUtils.getRecipe( chip, this.mc.thePlayer.worldObj );
if( recipe == null )
return;
ItemStack result = recipe.getResult();
GuiUtils.paintItem( result, 32, 17, this.mc, itemRenderer );
ItemStack[] ingredients = recipe.getIngredients();
for( int i = 0; i < 3; i++ ) {
for( int e = 0; e < 3; e++ ) {
int index = i * 3 + e;
GuiUtils.paintItem( ingredients[index], e * 18 + 14, i * 18 + 41, this.mc, itemRenderer );
}