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;
|
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;
|
|
|
|
import mekanism.common.RecipeHandler.Recipe;
|
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()
|
|
|
|
{
|
|
|
|
return "Osmium Compressor";
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public String getRecipeId()
|
|
|
|
{
|
|
|
|
return "mekanism.compressor";
|
|
|
|
}
|
|
|
|
|
|
|
|
@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";
|
|
|
|
}
|
|
|
|
|
|
|
|
@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(Mekanism.Ingot, 1, 1), new ItemStack(Mekanism.BasicBlock, 1, 0));
|
2013-08-10 21:52:59 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public Class getGuiClass()
|
|
|
|
{
|
|
|
|
return GuiOsmiumCompressor.class;
|
|
|
|
}
|
|
|
|
}
|