Search in sources :

Example 1 with PrivateCraftingTeachingTransferHandler

use of com.minecolonies.coremod.compatibility.jei.transer.PrivateCraftingTeachingTransferHandler in project minecolonies by Minecolonies.

the class JEIPlugin method register.

@Override
public void register(final IModRegistry iModRegistry) {
    final IRecipeTransferRegistry recipeTranferRegistry = iModRegistry.getRecipeTransferRegistry();
    recipeTranferRegistry.addRecipeTransferHandler(new PrivateCraftingTeachingTransferHandler(iModRegistry.getJeiHelpers().recipeTransferHandlerHelper()), VanillaRecipeCategoryUid.CRAFTING);
}
Also used : PrivateCraftingTeachingTransferHandler(com.minecolonies.coremod.compatibility.jei.transer.PrivateCraftingTeachingTransferHandler) IRecipeTransferRegistry(mezz.jei.api.recipe.transfer.IRecipeTransferRegistry)

Aggregations

PrivateCraftingTeachingTransferHandler (com.minecolonies.coremod.compatibility.jei.transer.PrivateCraftingTeachingTransferHandler)1 IRecipeTransferRegistry (mezz.jei.api.recipe.transfer.IRecipeTransferRegistry)1