2016-05-02 13:45:52 -04:00
|
|
|
package WayofTime.bloodmagic.compat.jei.alchemyTable;
|
|
|
|
|
|
|
|
import javax.annotation.Nonnull;
|
|
|
|
|
|
|
|
import mezz.jei.api.recipe.IRecipeHandler;
|
|
|
|
import mezz.jei.api.recipe.IRecipeWrapper;
|
|
|
|
import WayofTime.bloodmagic.api.Constants;
|
|
|
|
|
|
|
|
public class AlchemyTableRecipeHandler implements IRecipeHandler<AlchemyTableRecipeJEI>
|
|
|
|
{
|
|
|
|
@Nonnull
|
|
|
|
@Override
|
|
|
|
public Class<AlchemyTableRecipeJEI> getRecipeClass()
|
|
|
|
{
|
|
|
|
return AlchemyTableRecipeJEI.class;
|
|
|
|
}
|
|
|
|
|
2016-12-11 20:28:47 -05:00
|
|
|
@Override
|
|
|
|
public String getRecipeCategoryUid(@Nonnull AlchemyTableRecipeJEI recipe)
|
|
|
|
{
|
|
|
|
return Constants.Compat.JEI_CATEGORY_ALCHEMYTABLE;
|
|
|
|
}
|
|
|
|
|
2016-05-02 13:45:52 -04:00
|
|
|
@Nonnull
|
|
|
|
@Override
|
|
|
|
public IRecipeWrapper getRecipeWrapper(@Nonnull AlchemyTableRecipeJEI recipe)
|
|
|
|
{
|
|
|
|
return recipe;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public boolean isRecipeValid(@Nonnull AlchemyTableRecipeJEI recipe)
|
|
|
|
{
|
2017-01-02 01:18:02 -08:00
|
|
|
return true;
|
2016-05-02 13:45:52 -04:00
|
|
|
}
|
|
|
|
}
|