{
for (int y = 0; y < height; y++)
{
if ( items[(y * width + x)] != null )
{
IIngredient ing = (IIngredient) items[(y * width + x)];
try
{
ItemStack[] is = ing.getItemStackSet();
PositionedStack stack = new PositionedStack( useSingleItems ? Platform.findPreferred( is ) : is, 25 + x * 18, 6 + y * 18, false );
stack.setMaxSize( 1 );
this.ingredients.add( stack );
}
catch (RegistrationError ignored)