package mezz.jei.api.gui;

import javax.annotation.Nonnull;
import java.util.Collection;

/**
 * IGuiIngredientGroup displays recipe ingredients in a gui.
 *
 * If multiple ingredients are set for one index, they will be displayed in rotation.
 */
public interface IGuiIngredientGroup<T> {
	void set(int index, @Nonnull Collection<T> ingredients);

	void set(int index, @Nonnull T ingredient);
}

@@ -246,16 +246,68 @@
 ation.%0D%0A
+ * @see IGuiItemStackGroup and IGuiFluidStackGroup%0D%0A
  */%0D%0Apub

improve doc