57 lines
1.2 KiB
Java
57 lines
1.2 KiB
Java
package mekanism.client.nei;
|
|
|
|
import java.util.List;
|
|
import java.util.Set;
|
|
|
|
import mekanism.api.gas.GasRegistry;
|
|
import mekanism.client.gui.GuiChemicalInjectionChamber;
|
|
import mekanism.common.Mekanism;
|
|
import mekanism.common.RecipeHandler.Recipe;
|
|
import mekanism.common.util.ListUtils;
|
|
import mekanism.common.util.MekanismUtils;
|
|
import net.minecraft.item.ItemStack;
|
|
|
|
public class ChemicalInjectionChamberRecipeHandler extends AdvancedMachineRecipeHandler
|
|
{
|
|
@Override
|
|
public String getRecipeName()
|
|
{
|
|
return "C. Injection Chamber";
|
|
}
|
|
|
|
@Override
|
|
public String getRecipeId()
|
|
{
|
|
return "mekanism.chemicalinjectionchamber";
|
|
}
|
|
|
|
@Override
|
|
public String getOverlayIdentifier()
|
|
{
|
|
return "chemicalinjectionchamber";
|
|
}
|
|
|
|
@Override
|
|
public Set getRecipes()
|
|
{
|
|
return Recipe.CHEMICAL_INJECTION_CHAMBER.get().entrySet();
|
|
}
|
|
|
|
@Override
|
|
public String getGuiTexture()
|
|
{
|
|
return "mekanism:gui/GuiChemicalInjectionChamber.png";
|
|
}
|
|
|
|
@Override
|
|
public List<ItemStack> getFuelStacks()
|
|
{
|
|
return ListUtils.asList(new ItemStack(Mekanism.Dust, 1, 10), MekanismUtils.getFullGasTank(GasRegistry.getGas("sulfuricAcid")));
|
|
}
|
|
|
|
@Override
|
|
public Class getGuiClass()
|
|
{
|
|
return GuiChemicalInjectionChamber.class;
|
|
}
|
|
}
|