@Deprecated public ShapelessRecipe addIngredient(int count,Material ingredient,int rawdata){
  Validate.isTrue(ingredients.size() + count <= 9,"Shapeless recipes cannot have more than 9 ingredients");
  if (rawdata == -1) {
    rawdata=Short.MAX_VALUE;
  }
  while (count-- > 0) {
    ingredients.add(new ItemStack(ingredient,1,(short)rawdata));
  }
  return this;
}

@ Deprecated public ShapelessRecipe addIngredient ( int count , Material ingredient , int rawdata ) { Validate . isTrue ( ingredients . size ( ) + count <= 9 , "Shapeless recipes cannot have more than 9 ingredients" ) ; if ( rawdata == - 1 ) { rawdata = Short . MAX_VALUE ; } while ( count -- > 0 ) { ingredients . add ( new ItemStack ( ingredient , 1 , ( short ) rawdata ) ) ; } return this ; }
adds multiples of the specified ingredient .
