use of mezz.jei.api.helpers.IStackHelper in project Mekanism by mekanism.
the class MekanismJEI method registerRecipeTransferHandlers.
@Override
public void registerRecipeTransferHandlers(IRecipeTransferRegistration registry) {
IRecipeTransferHandlerHelper transferHelper = registry.getTransferHelper();
IStackHelper stackHelper = registry.getJeiHelpers().getStackHelper();
registry.addRecipeTransferHandler(CraftingRobitContainer.class, VanillaRecipeCategoryUid.CRAFTING, 1, 9, 10, 36);
registry.addRecipeTransferHandler(new FormulaicRecipeTransferInfo());
registry.addRecipeTransferHandler(new QIOCraftingTransferHandler<>(transferHelper, stackHelper, QIODashboardContainer.class), VanillaRecipeCategoryUid.CRAFTING);
registry.addRecipeTransferHandler(new QIOCraftingTransferHandler<>(transferHelper, stackHelper, PortableQIODashboardContainer.class), VanillaRecipeCategoryUid.CRAFTING);
}
use of mezz.jei.api.helpers.IStackHelper in project SophisticatedBackpacks by P3pp3rF1y.
the class SBPPlugin method registerRecipeTransferHandlers.
@Override
public void registerRecipeTransferHandlers(IRecipeTransferRegistration registration) {
IRecipeTransferHandlerHelper handlerHelper = registration.getTransferHelper();
IStackHelper stackHelper = registration.getJeiHelpers().getStackHelper();
registration.addRecipeTransferHandler(new CraftingContainerRecipeTransferHandler(handlerHelper, stackHelper), VanillaRecipeCategoryUid.CRAFTING);
}
Aggregations