Search in sources :

Example 1 with IGuiHelper

use of mezz.jei.api.helpers.IGuiHelper in project BluePower by Qmunity.

the class JEIPlugin method registerCategories.

@Override
public void registerCategories(IRecipeCategoryRegistration registry) {
    jeiHelpers = registry.getJeiHelpers();
    IGuiHelper guiHelper = jeiHelpers.getGuiHelper();
    categories.put(AlloyFurnaceRegistry.StandardAlloyFurnaceRecipe.class, new AlloyFurnaceHandler(guiHelper));
    registry.addRecipeCategories(categories.values().toArray(new IRecipeCategory[categories.size()]));
}
Also used : IGuiHelper(mezz.jei.api.helpers.IGuiHelper) AlloyFurnaceRegistry(com.bluepowermod.recipe.AlloyFurnaceRegistry) IRecipeCategory(mezz.jei.api.recipe.category.IRecipeCategory)

Aggregations

AlloyFurnaceRegistry (com.bluepowermod.recipe.AlloyFurnaceRegistry)1 IGuiHelper (mezz.jei.api.helpers.IGuiHelper)1 IRecipeCategory (mezz.jei.api.recipe.category.IRecipeCategory)1