mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-06-27 15:11:43 +02:00
42 lines
1 KiB
Java
42 lines
1 KiB
Java
/*
|
|
* This file ("CrusherRecipeHandler.java") is part of the Actually Additions mod for Minecraft.
|
|
* It is created and owned by Ellpeck and distributed
|
|
* under the Actually Additions License to be found at
|
|
* http://ellpeck.de/actaddlicense
|
|
* View the source code at https://github.com/Ellpeck/ActuallyAdditions
|
|
*
|
|
* © 2015-2016 Ellpeck
|
|
*/
|
|
|
|
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>{
|
|
|
|
|
|
@Override
|
|
public Class getRecipeClass(){
|
|
return CrusherRecipe.class;
|
|
}
|
|
|
|
|
|
@Override
|
|
public String getRecipeCategoryUid(){
|
|
return CrusherRecipeCategory.NAME;
|
|
}
|
|
|
|
|
|
@Override
|
|
public IRecipeWrapper getRecipeWrapper(CrusherRecipe recipe){
|
|
return new CrusherRecipeWrapper(recipe);
|
|
}
|
|
|
|
@Override
|
|
public boolean isRecipeValid(CrusherRecipe recipe){
|
|
return true;
|
|
}
|
|
}
|