mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-23 21:39:40 +00:00
Work on NEI module
This commit is contained in:
1 parent
a40ab961c6
commit
3b99d376a4
7 files changed
+30
-27
No files matched your search
@@ -1,8 +1,8 @@
|
||||
package mekanism.client.nei;
|
||||
|
||||
import static codechicken.lib.gui.GuiDraw.changeTexture;
|
||||
import static codechicken.lib.gui.GuiDraw.drawTexturedModalRect;
|
||||
import static codechicken.lib.gui.GuiDraw.drawString;
|
||||
import static codechicken.lib.gui.GuiDraw.drawTexturedModalRect;
|
||||
|
||||
import java.awt.Rectangle;
|
||||
import java.util.Map;
|
||||
@@ -18,13 +18,19 @@ import codechicken.nei.NEIServerUtils;
|
||||
import codechicken.nei.PositionedStack;
|
||||
import codechicken.nei.recipe.TemplateRecipeHandler;
|
||||
|
||||
public abstract class ChanceMachineRecipeHandler extends TemplateRecipeHandler
|
||||
public abstract class ChanceMachineRecipeHandler extends BaseRecipeHandler
|
||||
{
|
||||
private int ticksPassed;
|
||||
|
||||
public abstract String getRecipeId();
|
||||
|
||||
public abstract Set<Entry<ItemStack, ChanceOutput>> getRecipes();
|
||||
|
||||
@Override
|
||||
public void addGuiElements()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void drawBackground(int i)
|
||||
@@ -93,6 +99,12 @@ public abstract class ChanceMachineRecipeHandler extends TemplateRecipeHandler
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getGuiTexture()
|
||||
{
|
||||
return "mekanism:gui/GuiAdvancedMachine.png";
|
||||
}
|
||||
|
||||
@Override
|
||||
public void loadUsageRecipes(ItemStack ingredient)
|
||||
|
||||
Reference in new issue
Block a user