use of toolbox.common.recipes.BookRecipe in project Adventurers-Toolbox by the-realest-stu.
the class ToolboxJEIPlugin method register.
@Override
public void register(IModRegistry reg) {
IJeiHelpers helper = reg.getJeiHelpers();
IGuiHelper guiHelper = helper.getGuiHelper();
reg.handleRecipes(BookRecipe.class, new IRecipeWrapperFactory<BookRecipe>() {
@Override
public IRecipeWrapper getRecipeWrapper(BookRecipe recipe) {
return new GuideBookRecipeWrapper();
}
}, VanillaRecipeCategoryUid.CRAFTING);
}
Aggregations