2016-01-17 15:09:59 +01:00
|
|
|
/*
|
2016-05-16 22:52:27 +02:00
|
|
|
* This file ("CrusherRecipeHandler.java") is part of the Actually Additions mod for Minecraft.
|
2016-01-17 15:09:59 +01:00
|
|
|
* It is created and owned by Ellpeck and distributed
|
|
|
|
* under the Actually Additions License to be found at
|
2016-05-16 22:52:27 +02:00
|
|
|
* http://ellpeck.de/actaddlicense
|
2016-01-17 15:09:59 +01:00
|
|
|
* View the source code at https://github.com/Ellpeck/ActuallyAdditions
|
|
|
|
*
|
2016-05-16 22:54:42 +02:00
|
|
|
* © 2015-2016 Ellpeck
|
2016-01-17 15:09:59 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
package de.ellpeck.actuallyadditions.mod.jei.crusher;
|
|
|
|
|
|
|
|
import de.ellpeck.actuallyadditions.api.recipe.CrusherRecipe;
|
|
|
|
import mezz.jei.api.recipe.IRecipeHandler;
|
|
|
|
import mezz.jei.api.recipe.IRecipeWrapper;
|
|
|
|
|
|
|
|
public class CrusherRecipeHandler implements IRecipeHandler<CrusherRecipe>{
|
|
|
|
|
2016-05-29 23:49:35 +02:00
|
|
|
|
2016-01-17 15:09:59 +01:00
|
|
|
@Override
|
|
|
|
public Class getRecipeClass(){
|
|
|
|
return CrusherRecipe.class;
|
|
|
|
}
|
|
|
|
|
2016-05-29 23:49:35 +02:00
|
|
|
|
2016-01-17 15:09:59 +01:00
|
|
|
@Override
|
|
|
|
public String getRecipeCategoryUid(){
|
|
|
|
return CrusherRecipeCategory.NAME;
|
|
|
|
}
|
|
|
|
|
2016-06-27 20:49:26 +02:00
|
|
|
@Override
|
|
|
|
public String getRecipeCategoryUid(CrusherRecipe recipe){
|
|
|
|
return this.getRecipeCategoryUid();
|
|
|
|
}
|
|
|
|
|
2016-05-29 23:49:35 +02:00
|
|
|
|
2016-01-17 15:09:59 +01:00
|
|
|
@Override
|
2016-05-29 23:49:35 +02:00
|
|
|
public IRecipeWrapper getRecipeWrapper(CrusherRecipe recipe){
|
2016-01-17 15:09:59 +01:00
|
|
|
return new CrusherRecipeWrapper(recipe);
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
2016-05-29 23:49:35 +02:00
|
|
|
public boolean isRecipeValid(CrusherRecipe recipe){
|
2016-01-17 15:09:59 +01:00
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|