use of com.lowdragmc.multiblocked.jei.multipage.MultiblockInfoCategory in project Multiblocked by Low-Drag-MC.
the class JEIPlugin method registerCategories.
@Override
public void registerCategories(@Nonnull IRecipeCategoryRegistration registry) {
Multiblocked.LOGGER.info("JEI register categories");
IJeiHelpers jeiHelpers = registry.getJeiHelpers();
registry.addRecipeCategories(new MultiblockInfoCategory(jeiHelpers));
for (RecipeMap recipeMap : RecipeMap.RECIPE_MAP_REGISTRY.values()) {
if (recipeMap == RecipeMap.EMPTY)
continue;
registry.addRecipeCategories(new RecipeMapCategory(jeiHelpers, recipeMap));
}
}
Aggregations