e5a6eadc45
This patch provides common/mekanism/*.java with standardized indentation (tabs) and also removes trailing whitespace.
64 lines
1.3 KiB
Java
64 lines
1.3 KiB
Java
package mekanism.client.nei;
|
|
|
|
import java.util.ArrayList;
|
|
import java.util.List;
|
|
import java.util.Set;
|
|
|
|
import mekanism.api.ListUtils;
|
|
import mekanism.api.gas.Gas;
|
|
import mekanism.api.gas.GasRegistry;
|
|
import mekanism.client.gui.GuiPurificationChamber;
|
|
import mekanism.common.recipe.RecipeHandler.Recipe;
|
|
import mekanism.common.util.MekanismUtils;
|
|
import net.minecraft.item.Item;
|
|
import net.minecraft.item.ItemStack;
|
|
|
|
public class PurificationChamberRecipeHandler extends AdvancedMachineRecipeHandler
|
|
{
|
|
@Override
|
|
public String getRecipeName()
|
|
{
|
|
return MekanismUtils.localize("tile.MachineBlock.PurificationChamber.name");
|
|
}
|
|
|
|
@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
|
|
public List<ItemStack> getFuelStacks(Gas gasType)
|
|
{
|
|
if(gasType == GasRegistry.getGas("oxygen"))
|
|
{
|
|
return ListUtils.asList(new ItemStack(Item.flint), MekanismUtils.getFullGasTank(GasRegistry.getGas("oxygen")));
|
|
}
|
|
|
|
return new ArrayList<ItemStack>();
|
|
}
|
|
|
|
@Override
|
|
public Class getGuiClass()
|
|
{
|
|
return GuiPurificationChamber.class;
|
|
}
|
|
}
|