mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-19 19:59:49 +00:00
Remove SimpleRecipeHandler (unused now)
This commit is contained in:
1 parent
c6ee1184ff
commit
79af0241e8
1 file changed
-34
@@ -1,34 +0,0 @@
|
||||
package binnie.core.integration.jei;
|
||||
|
||||
import mezz.jei.api.recipe.IRecipeHandler;
|
||||
import mezz.jei.api.recipe.IRecipeWrapper;
|
||||
|
||||
public class SimpleRecipeHandler<T extends IRecipeWrapper> implements IRecipeHandler<T> {
|
||||
private final Class<T> recipeClass;
|
||||
private final String recipeCategoryUid;
|
||||
|
||||
public SimpleRecipeHandler(Class<T> recipeClass, String recipeCategoryUid) {
|
||||
this.recipeClass = recipeClass;
|
||||
this.recipeCategoryUid = recipeCategoryUid;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Class<T> getRecipeClass() {
|
||||
return recipeClass;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getRecipeCategoryUid(T recipe) {
|
||||
return recipeCategoryUid;
|
||||
}
|
||||
|
||||
@Override
|
||||
public IRecipeWrapper getRecipeWrapper(T recipe) {
|
||||
return recipe;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isRecipeValid(T recipe) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user