mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-25 14:24:35 +00:00
25 lines
751 B
Java
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;
|
|
}
|
|
} |