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-18 18:16:14 +01:00
|
|
|
import mekanism.api.gas.Gas;
|
2013-08-27 00:49:32 +02:00
|
|
|
import mekanism.client.gui.GuiOsmiumCompressor;
|
2013-08-10 21:52:59 +02:00
|
|
|
import mekanism.common.Mekanism;
|
2014-01-08 02:55:50 +01:00
|
|
|
import mekanism.common.recipe.RecipeHandler.Recipe;
|
2014-01-25 22:29:36 +01:00
|
|
|
import mekanism.common.util.MekanismUtils;
|
2014-01-02 19:00:09 +01:00
|
|
|
import net.minecraft.item.ItemStack;
|
2013-08-10 21:52:59 +02:00
|
|
|
|
|
|
|
public class OsmiumCompressorRecipeHandler extends AdvancedMachineRecipeHandler
|
|
|
|
{
|
|
|
|
@Override
|
|
|
|
public String getRecipeName()
|
|
|
|
{
|
2014-01-25 22:29:36 +01:00
|
|
|
return MekanismUtils.localize("tile.MachineBlock.OsmiumCompressor.name");
|
2013-08-10 21:52:59 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public String getRecipeId()
|
|
|
|
{
|
|
|
|
return "mekanism.compressor";
|
|
|
|
}
|
2014-03-08 02:00:25 +01:00
|
|
|
|
2013-08-10 21:52:59 +02:00
|
|
|
@Override
|
|
|
|
public String getOverlayIdentifier()
|
|
|
|
{
|
|
|
|
return "compressor";
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public Set getRecipes()
|
|
|
|
{
|
|
|
|
return Recipe.OSMIUM_COMPRESSOR.get().entrySet();
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public String getGuiTexture()
|
|
|
|
{
|
|
|
|
return "mekanism:gui/GuiCompressor.png";
|
|
|
|
}
|
2014-03-08 02:00:25 +01:00
|
|
|
|
2013-08-10 21:52:59 +02:00
|
|
|
@Override
|
2014-01-18 18:16:14 +01:00
|
|
|
public List<ItemStack> getFuelStacks(Gas gasType)
|
2013-08-10 21:52:59 +02:00
|
|
|
{
|
2014-01-18 18:08:11 +01:00
|
|
|
return ListUtils.asList(new ItemStack(Mekanism.Ingot, 1, 1));
|
2013-08-10 21:52:59 +02:00
|
|
|
}
|
2014-03-08 02:00:25 +01:00
|
|
|
|
2013-08-10 21:52:59 +02:00
|
|
|
@Override
|
|
|
|
public Class getGuiClass()
|
|
|
|
{
|
|
|
|
return GuiOsmiumCompressor.class;
|
|
|
|
}
|
|
|
|
}
|