Files
Mekanism-Community-Edition/src/main/java/mekanism/client/jei/machine/other/SolarNeutronRecipeWrapper.java
T
2019-03-20 15:59:34 -06:00

25 lines
751 B
Java

package mekanism.client.jei.machine.other;
import mekanism.client.jei.MekanismJEI;
import mekanism.common.recipe.machines.SolarNeutronRecipe;
import mezz.jei.api.ingredients.IIngredients;
import mezz.jei.api.recipe.IRecipeWrapper;
public class SolarNeutronRecipeWrapper implements IRecipeWrapper {
private final SolarNeutronRecipe recipe;
public SolarNeutronRecipeWrapper(SolarNeutronRecipe r) {
recipe = r;
}
@Override
public void getIngredients(IIngredients ingredients) {
ingredients.setInput(MekanismJEI.TYPE_GAS, recipe.getInput().ingredient);
ingredients.setOutput(MekanismJEI.TYPE_GAS, recipe.getOutput().output);
}
public SolarNeutronRecipe getRecipe() {
return recipe;
}
}