Interface IIngredientCollapsedCollection<T,M>

Type Parameters:
T - The instance type.
M - The matching condition parameter.
All Superinterfaces:
IIngredientCollection<T,M>, IIngredientCollectionLike<T,M,T>, Iterable<T>
All Known Subinterfaces:
IIngredientCollapsedCollectionMutable<T,M>
All Known Implementing Classes:
IngredientCollectionPrototypeMap, IngredientCollectionQuantitativeGrouper, IngredientCollectionSingleClassifiedCollapsed

public interface IIngredientCollapsedCollection<T,M> extends IIngredientCollection<T,M>
An ingredient collection that does not strictly adhere to the IIngredientCollection interface and will collapse ingredients that are equal, ignoring their quantity. This collapsing will result in quantities of equal ingredients to be summed up. For example, equal ItemStacks with different counts can be added, but only a single ItemStack will be present in the collection, with as count the sum of the given counts.