public final class IngredientSorter extends java.lang.Object implements IIngredientSorter
| Constructor and Description |
|---|
IngredientSorter(IClientConfig clientConfig,
ModNameSortingConfig modNameSortingConfig,
IngredientTypeSortingConfig ingredientTypeSortingConfig) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Comparator<IIngredientListElementInfo<?>> |
getComparator(IngredientFilter ingredientFilter,
mezz.jei.api.runtime.IIngredientManager ingredientManager) |
void |
invalidateCache() |
public IngredientSorter(IClientConfig clientConfig, ModNameSortingConfig modNameSortingConfig, IngredientTypeSortingConfig ingredientTypeSortingConfig)
public java.util.Comparator<IIngredientListElementInfo<?>> getComparator(IngredientFilter ingredientFilter, mezz.jei.api.runtime.IIngredientManager ingredientManager)
getComparator in interface IIngredientSorterpublic void invalidateCache()
invalidateCache in interface IIngredientSorter