mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-27 15:23:16 +00:00
Re-added NEI
This commit is contained in:
1 parent
c8fb800c1a
commit
517c2a7655
23 files changed
+64
-52
No files matched your search
@@ -0,0 +1,57 @@
|
||||
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;
|
||||
import mekanism.common.util.MekanismUtils;
|
||||
import net.minecraft.item.ItemStack;
|
||||
|
||||
public class OsmiumCompressorRecipeHandler extends AdvancedMachineRecipeHandler
|
||||
{
|
||||
@Override
|
||||
public String getRecipeName()
|
||||
{
|
||||
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)
|
||||
{
|
||||
return ListUtils.asList(new ItemStack(Mekanism.Ingot, 1, 1));
|
||||
}
|
||||
|
||||
@Override
|
||||
public Class getGuiClass()
|
||||
{
|
||||
return GuiOsmiumCompressor.class;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user