2016-01-17 22:57:32 +01:00
|
|
|
/*
|
2016-05-16 22:52:27 +02:00
|
|
|
* This file ("ReconstructorRecipeHandler.java") is part of the Actually Additions mod for Minecraft.
|
2016-01-17 22:57:32 +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 22:57:32 +01:00
|
|
|
* View the source code at https://github.com/Ellpeck/ActuallyAdditions
|
|
|
|
*
|
2017-01-01 16:23:26 +01:00
|
|
|
* © 2015-2017 Ellpeck
|
2016-01-17 22:57:32 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
package de.ellpeck.actuallyadditions.mod.jei.reconstructor;
|
|
|
|
|
2016-05-14 13:51:18 +02:00
|
|
|
import de.ellpeck.actuallyadditions.api.recipe.LensConversionRecipe;
|
2016-01-17 22:57:32 +01:00
|
|
|
import mezz.jei.api.recipe.IRecipeHandler;
|
|
|
|
import mezz.jei.api.recipe.IRecipeWrapper;
|
|
|
|
|
2016-06-27 20:49:26 +02:00
|
|
|
public class ReconstructorRecipeHandler implements IRecipeHandler<LensConversionRecipe>{
|
2016-05-29 23:49:35 +02:00
|
|
|
|
2016-01-17 22:57:32 +01:00
|
|
|
@Override
|
|
|
|
public Class getRecipeClass(){
|
2016-05-14 13:51:18 +02:00
|
|
|
return LensConversionRecipe.class;
|
2016-01-17 22:57:32 +01:00
|
|
|
}
|
|
|
|
|
2016-06-27 20:49:26 +02:00
|
|
|
@Override
|
|
|
|
public String getRecipeCategoryUid(LensConversionRecipe recipe){
|
2016-11-19 21:11:17 +01:00
|
|
|
return ReconstructorRecipeCategory.NAME;
|
2016-06-27 20:49:26 +02:00
|
|
|
}
|
2016-05-29 23:49:35 +02:00
|
|
|
|
2016-01-17 22:57:32 +01:00
|
|
|
@Override
|
2016-05-29 23:49:35 +02:00
|
|
|
public IRecipeWrapper getRecipeWrapper(LensConversionRecipe recipe){
|
2016-01-17 22:57:32 +01:00
|
|
|
return new ReconstructorRecipeWrapper(recipe);
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
2016-05-29 23:49:35 +02:00
|
|
|
public boolean isRecipeValid(LensConversionRecipe recipe){
|
2016-01-17 22:57:32 +01:00
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|