blob: 3dae277c304c822634137842d43f871cd0aced41 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
package ihl.nei_integration;
import java.util.Map;
import ihl.processing.metallurgy.ExtruderGui;
import ihl.processing.metallurgy.ExtruderTileEntity;
import ihl.recipes.UniversalRecipeInput;
import ihl.recipes.UniversalRecipeOutput;
import net.minecraft.client.gui.inventory.GuiContainer;
public class ExtruderRecipeHandler extends MachineRecipeHandler
{
@Override
public Class <? extends GuiContainer > getGuiClass()
{
return ExtruderGui.class;
}
@Override
protected int[] getInputPosX()
{
return new int[]{39-5,57-5};
}
@Override
protected int[] getInputPosY()
{
return new int[]{32-11};
}
@Override
protected int[] getOutputPosX()
{
return new int[]{92-5};
}
@Override
protected int[] getOutputPosY()
{
return new int[]{32-11};
}
@Override
public String getRecipeName()
{
return "Extruder";
}
@Override
public String getRecipeId()
{
return "ihl.extruder";
}
@Override
public String getGuiTexture()
{
return "ihl:textures/gui/GUIExtruder.png";
}
@Override
public String getOverlayIdentifier()
{
return "extruder";
}
@Override
public Map<UniversalRecipeInput, UniversalRecipeOutput> getRecipeList()
{
return ExtruderTileEntity.getRecipes();
}
}
|