use of gregtech.integration.jei.recipe.primitive.OreByProductCategory in project GregTech by GregTechCEu.
the class GTJeiPlugin method registerCategories.
@Override
public void registerCategories(IRecipeCategoryRegistration registry) {
guiHelper = registry.getJeiHelpers().getGuiHelper();
registry.addRecipeCategories(new IntCircuitCategory(registry.getJeiHelpers().getGuiHelper()));
registry.addRecipeCategories(new MultiblockInfoCategory(registry.getJeiHelpers()));
for (RecipeMap<?> recipeMap : RecipeMap.getRecipeMaps()) {
if (!recipeMap.isHidden) {
registry.addRecipeCategories(new RecipeMapCategory(recipeMap, registry.getJeiHelpers().getGuiHelper()));
}
}
registry.addRecipeCategories(new OreByProductCategory(registry.getJeiHelpers().getGuiHelper()));
registry.addRecipeCategories(new GTOreCategory(registry.getJeiHelpers().getGuiHelper()));
registry.addRecipeCategories(new MaterialTreeCategory(registry.getJeiHelpers().getGuiHelper()));
}
Aggregations