Search in sources :

Example 1 with MultiblockInfoCategory

use of gregtech.integration.jei.multiblock.MultiblockInfoCategory in project GregTech by GregTechCE.

the class GTJeiPlugin method registerCategories.

@Override
public void registerCategories(IRecipeCategoryRegistration registry) {
    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()));
        }
    }
    for (FuelRecipeMap fuelRecipeMap : FuelRecipeMap.getRecipeMaps()) {
        registry.addRecipeCategories(new FuelRecipeMapCategory(fuelRecipeMap, registry.getJeiHelpers().getGuiHelper()));
    }
    registry.addRecipeCategories(new PrimitiveBlastRecipeCategory(registry.getJeiHelpers().getGuiHelper()));
    registry.addRecipeCategories(new CokeOvenRecipeCategory(registry.getJeiHelpers().getGuiHelper()));
    registry.addRecipeCategories(new OreByProductCategory(registry.getJeiHelpers().getGuiHelper()));
    registry.addRecipeCategories(new GTOreCategory(registry.getJeiHelpers().getGuiHelper()));
}
Also used : FuelRecipeMap(gregtech.api.recipes.machines.FuelRecipeMap) MultiblockInfoCategory(gregtech.integration.jei.multiblock.MultiblockInfoCategory) FuelRecipeMapCategory(gregtech.integration.jei.recipe.fuel.FuelRecipeMapCategory) FuelRecipeMapCategory(gregtech.integration.jei.recipe.fuel.FuelRecipeMapCategory)

Aggregations

FuelRecipeMap (gregtech.api.recipes.machines.FuelRecipeMap)1 MultiblockInfoCategory (gregtech.integration.jei.multiblock.MultiblockInfoCategory)1 FuelRecipeMapCategory (gregtech.integration.jei.recipe.fuel.FuelRecipeMapCategory)1