Mekanism-tilera-Edition/common/mekanism/client/nei/OsmiumCompressorRecipeHandler.java

58 lines
1.1 KiB
Java
Raw Normal View History

package mekanism.client.nei;
import java.util.List;
import java.util.Set;
import mekanism.api.ListUtils;
import mekanism.api.gas.Gas;
import mekanism.client.gui.GuiOsmiumCompressor;
import mekanism.common.Mekanism;
import mekanism.common.recipe.RecipeHandler.Recipe;
2014-01-25 22:29:36 +01:00
import mekanism.common.util.MekanismUtils;
import net.minecraft.item.ItemStack;
public class OsmiumCompressorRecipeHandler extends AdvancedMachineRecipeHandler
{
@Override
public String getRecipeName()
{
2014-01-25 22:29:36 +01:00
return MekanismUtils.localize("tile.MachineBlock.OsmiumCompressor.name");
}
@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
public List<ItemStack> getFuelStacks(Gas gasType)
{
2014-01-18 18:08:11 +01:00
return ListUtils.asList(new ItemStack(Mekanism.Ingot, 1, 1));
}
@Override
public Class getGuiClass()
{
return GuiOsmiumCompressor.class;
}
}