Search in sources :

Example 1 with MaterialTreeCategory

use of gregtech.integration.jei.recipe.primitive.MaterialTreeCategory 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()));
}
Also used : MaterialTreeCategory(gregtech.integration.jei.recipe.primitive.MaterialTreeCategory) OreByProductCategory(gregtech.integration.jei.recipe.primitive.OreByProductCategory) MultiblockInfoCategory(gregtech.integration.jei.multiblock.MultiblockInfoCategory)

Aggregations

MultiblockInfoCategory (gregtech.integration.jei.multiblock.MultiblockInfoCategory)1 MaterialTreeCategory (gregtech.integration.jei.recipe.primitive.MaterialTreeCategory)1 OreByProductCategory (gregtech.integration.jei.recipe.primitive.OreByProductCategory)1