<commit_before>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);
}<commit_msg>improve doc<commit_after>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.
 * @see IGuiItemStackGroup and IGuiFluidStackGroup
 */
public interface IGuiIngredientGroup<T> {
	void set(int index, @Nonnull Collection<T> ingredients);

	void set(int index, @Nonnull T ingredient);
}
{'fraction_non_alphanumeric': 0.09182530795072788, 'fraction_numerical': 0.0, 'mean_word_length': 5.208333333333333, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3868145', 'n_tokens_mistral': 276, 'n_tokens_neox': 268, 'n_words': 89}