Package net.minecraftforge.client
Class RecipeBookRegistry
java.lang.Object
net.minecraftforge.client.RecipeBookRegistry
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Map<RecipeBookCategories,
List<RecipeBookCategories>> private static final Map<RecipeType<?>,
Function<Recipe<?>, RecipeBookCategories>> private static final Map<RecipeBookCategories,
List<RecipeBookCategories>> private static final Map<RecipeBookType,
List<RecipeBookCategories>> static final Map<RecipeBookType,
List<RecipeBookCategories>> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
addAggregateCategories
(RecipeBookCategories search, List<RecipeBookCategories> aggregate) static void
addCategoriesFinder
(RecipeType<?> type, Function<Recipe<?>, RecipeBookCategories> finder) static void
addCategoriesToType
(RecipeBookType type, List<RecipeBookCategories> categories) static RecipeBookCategories
findCategories
(RecipeType<?> type, Recipe<?> recipe) static void
-
Field Details
-
MUTABLE_AGGREGATE_CATEGORIES
private static final Map<RecipeBookCategories,List<RecipeBookCategories>> MUTABLE_AGGREGATE_CATEGORIES -
TYPE_TO_CATEGORIES
-
FIND_CATEGORIES_FOR_TYPE
private static final Map<RecipeType<?>,Function<Recipe<?>, FIND_CATEGORIES_FOR_TYPERecipeBookCategories>> -
AGGREGATE_CATEGORIES_VIEW
-
TYPE_TO_CATEGORIES_VIEW
-
-
Constructor Details
-
RecipeBookRegistry
public RecipeBookRegistry()
-
-
Method Details
-
addCategoriesToType
-
addAggregateCategories
public static void addAggregateCategories(RecipeBookCategories search, List<RecipeBookCategories> aggregate) -
addCategoriesFinder
public static void addCategoriesFinder(RecipeType<?> type, Function<Recipe<?>, RecipeBookCategories> finder) -
findCategories
-
initDefaultValues
@Internal public static void initDefaultValues()
-