2013-08-27 00:49:32 +02:00
|
|
|
package mekanism.client.nei;
|
2013-08-10 21:52:59 +02:00
|
|
|
|
2014-01-02 19:00:09 +01:00
|
|
|
import java.util.List;
|
2013-08-10 21:52:59 +02:00
|
|
|
import java.util.Set;
|
|
|
|
|
2014-01-03 03:58:14 +01:00
|
|
|
import mekanism.api.ListUtils;
|
2014-01-02 19:00:09 +01:00
|
|
|
import mekanism.api.gas.GasRegistry;
|
2013-08-27 00:49:32 +02:00
|
|
|
import mekanism.client.gui.GuiPurificationChamber;
|
2013-08-10 21:52:59 +02:00
|
|
|
import mekanism.common.RecipeHandler.Recipe;
|
2014-01-02 19:00:09 +01:00
|
|
|
import mekanism.common.util.MekanismUtils;
|
2013-08-10 21:52:59 +02:00
|
|
|
import net.minecraft.item.Item;
|
|
|
|
import net.minecraft.item.ItemStack;
|
|
|
|
|
|
|
|
public class PurificationChamberRecipeHandler extends AdvancedMachineRecipeHandler
|
|
|
|
{
|
|
|
|
@Override
|
|
|
|
public String getRecipeName()
|
|
|
|
{
|
|
|
|
return "Purification Chamber";
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public String getRecipeId()
|
|
|
|
{
|
|
|
|
return "mekanism.purificationchamber";
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public String getOverlayIdentifier()
|
|
|
|
{
|
|
|
|
return "purificationchamber";
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public Set getRecipes()
|
|
|
|
{
|
|
|
|
return Recipe.PURIFICATION_CHAMBER.get().entrySet();
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public String getGuiTexture()
|
|
|
|
{
|
|
|
|
return "mekanism:gui/GuiPurificationChamber.png";
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
2014-01-02 19:00:09 +01:00
|
|
|
public List<ItemStack> getFuelStacks()
|
2013-08-10 21:52:59 +02:00
|
|
|
{
|
2014-01-02 19:00:09 +01:00
|
|
|
return ListUtils.asList(new ItemStack(Item.flint), MekanismUtils.getFullGasTank(GasRegistry.getGas("oxygen")));
|
2013-08-10 21:52:59 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public Class getGuiClass()
|
|
|
|
{
|
|
|
|
return GuiPurificationChamber.class;
|
|
|
|
}
|
|
|
|
}
|