package jp.crafterkina.pipes.plugin.jei.crafting;

import mezz.jei.api.recipe.IRecipeHandler;
import mezz.jei.api.recipe.IRecipeWrapper;
import mezz.jei.api.recipe.VanillaRecipeCategoryUid;

import javax.annotation.Nonnull;

/**
 * Created by Kina on 2016/12/25.
 */
public class CoverPipeWithWoolRecipeHandler implements IRecipeHandler<CoverPipeWithCarpetRecipeWrapper>{
    @Nonnull
    @Override
    public Class<CoverPipeWithCarpetRecipeWrapper> getRecipeClass(){
        return CoverPipeWithCarpetRecipeWrapper.class;
    }

    @Nonnull
    @Override
    public String getRecipeCategoryUid(@Nonnull CoverPipeWithCarpetRecipeWrapper recipe){
        return VanillaRecipeCategoryUid.CRAFTING;
    }

    @Nonnull
    @Override
    public IRecipeWrapper getRecipeWrapper(@Nonnull CoverPipeWithCarpetRecipeWrapper recipe){
        return recipe;
    }

    @Override
    public boolean isRecipeValid(@Nonnull CoverPipeWithCarpetRecipeWrapper recipe){
        return true;
    }
}

@@ -335,38 +335,36 @@
 er%3CCoverPipeWith
-Carpet
+Wool
 RecipeWrapper%3E%7B%0A
@@ -412,38 +412,36 @@
 ss%3CCoverPipeWith
-Carpet
+Wool
 RecipeWrapper%3E g
@@ -477,38 +477,36 @@
 rn CoverPipeWith
-Carpet
+Wool
 RecipeWrapper.cl
@@ -597,38 +597,36 @@
 ll CoverPipeWith
-Carpet
+Wool
 RecipeWrapper re
@@ -773,38 +773,36 @@
 ll CoverPipeWith
-Carpet
+Wool
 RecipeWrapper re
@@ -911,14 +911,12 @@
 With
-Carpet
+Wool
 Reci

Fix issue pipe covered recipes using wool are not displayed in JEI