2016-05-02 17:45:52 +00: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-12 01:28:47 +00:00
|
|
|
@Override
|
|
|
|
public String getRecipeCategoryUid(@Nonnull AlchemyTableRecipeJEI recipe)
|
|
|
|
{
|
|
|
|
return Constants.Compat.JEI_CATEGORY_ALCHEMYTABLE;
|
|
|
|
}
|
|
|
|
|
2016-05-02 17:45:52 +00:00
|
|
|
@Nonnull
|
|
|
|
@Override
|
|
|
|
public IRecipeWrapper getRecipeWrapper(@Nonnull AlchemyTableRecipeJEI recipe)
|
|
|
|
{
|
|
|
|
return recipe;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public boolean isRecipeValid(@Nonnull AlchemyTableRecipeJEI recipe)
|
|
|
|
{
|
2017-02-05 06:43:18 +00:00
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public String getRecipeCategoryUid() {
|
|
|
|
return null;
|
2016-05-02 17:45:52 +00:00
|
|
|
}
|
|
|
|
}
|