mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-25 06:14:41 +00:00
34 lines
762 B
Java
34 lines
762 B
Java
package mekanism.client.jei.crafting;
|
|
|
|
import mekanism.common.recipe.ShapedMekanismRecipe;
|
|
import mezz.jei.api.recipe.IRecipeHandler;
|
|
import mezz.jei.api.recipe.IRecipeWrapper;
|
|
import mezz.jei.api.recipe.VanillaRecipeCategoryUid;
|
|
|
|
public class ShapedMekanismRecipeHandler implements IRecipeHandler<ShapedMekanismRecipe>
|
|
{
|
|
@Override
|
|
public String getRecipeCategoryUid()
|
|
{
|
|
return VanillaRecipeCategoryUid.CRAFTING;
|
|
}
|
|
|
|
@Override
|
|
public Class<ShapedMekanismRecipe> getRecipeClass()
|
|
{
|
|
return ShapedMekanismRecipe.class;
|
|
}
|
|
|
|
@Override
|
|
public IRecipeWrapper getRecipeWrapper(ShapedMekanismRecipe recipe)
|
|
{
|
|
return new ShapedMekanismRecipeWrapper(recipe);
|
|
}
|
|
|
|
@Override
|
|
public boolean isRecipeValid(ShapedMekanismRecipe recipe)
|
|
{
|
|
return true;
|
|
}
|
|
}
|