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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
|
package ihl.nei_integration;
import java.awt.Rectangle;
import java.util.Map;
import codechicken.lib.gui.GuiDraw;
import ihl.processing.chemistry.LeadOvenGui;
import ihl.processing.chemistry.LeadOvenTileEntity;
import ihl.recipes.UniversalRecipeInput;
import ihl.recipes.UniversalRecipeOutput;
import net.minecraft.client.gui.inventory.GuiContainer;
public class LeadOvenRecipeHandler extends MachineRecipeHandler
{
@Override
public Class <? extends GuiContainer > getGuiClass()
{
return LeadOvenGui.class;
}
@Override
protected int[] getInputPosX()
{
return new int[]{47-5,65-5};
}
@Override
protected int[] getInputPosY()
{
return new int[]{17-11};
}
@Override
protected int[] getOutputPosX()
{
return new int[]{112-5};
}
@Override
protected int[] getOutputPosY()
{
return new int[]{35-11};
}
@Override
protected int[] getFluidOutputPosX()
{
return new int[]{112-5};
}
@Override
protected int[] getFluidOutputPosY()
{
return new int[]{17-11};
}
@Override
public String getRecipeName()
{
return "Chemically resistant oven";
}
@Override
public String getRecipeId()
{
return "ihl.leadOven";
}
@Override
public String getGuiTexture()
{
return "ihl:textures/gui/GUILeadOven.png";
}
@Override
public String getOverlayIdentifier()
{
return "leadOven";
}
@Override
public void drawBackground(int i)
{
super.drawBackground(i);
GuiDraw.drawTexturedModalRect(107-5, 16-11, 199, 0, 26, 18);
}
@Override
public void loadTransferRects()
{
this.transferRects.add(new RecipeTransferRect(new Rectangle(80-10, 35-10, 22, 15), this.getRecipeId(), new Object[0]));
}
@Override
public Map<UniversalRecipeInput, UniversalRecipeOutput> getRecipeList()
{
return LeadOvenTileEntity.getRecipes();
}
}
|