| package mekanism.client.nei; |
| |
| import java.util.Collection; |
| |
| import mekanism.client.gui.GuiCrusher; |
| import mekanism.client.gui.element.GuiProgress.ProgressBar; |
| import mekanism.common.recipe.RecipeHandler.Recipe; |
| import mekanism.common.recipe.machines.CrusherRecipe; |
| import mekanism.common.util.LangUtils; |
| |
| public class CrusherRecipeHandler extends MachineRecipeHandler |
| { |
| @Override |
| public String getRecipeName() |
| { |
| return LangUtils.localize("tile.MachineBlock.Crusher.name"); |
| } |
| |
| @Override |
| public String getRecipeId() |
| { |
| return "mekanism.crusher"; |
| } |
| |
| @Override |
| public String getOverlayIdentifier() |
| { |
| return "crusher"; |
| } |
| |
| @Override |
| public ProgressBar getProgressType() |
| { |
| return ProgressBar.CRUSH; |
| } |
| |
| @Override |
| public Collection<CrusherRecipe> getRecipes() |
| { |
| return Recipe.CRUSHER.get().values(); |
| } |
| |
| @Override |
| public Class getGuiClass() |
| { |
| return GuiCrusher.class; |
| } |
| } |