blob: 98861a2c85cca86b5cbd76b6c9dcc9bf6b386c0d (
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
74
75
76
77
78
79
80
81
82
83
84
|
package ihl.nei_integration;
import java.awt.Rectangle;
import java.util.Map;
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;
import net.minecraft.util.StatCollector;
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[] { 9 - 5 };
}
@Override
protected int[] getFluidOutputPosY() {
return new int[] { 53 - 11 };
}
@Override
protected int[] getFluidInputPosX() {
return new int[] { 9 - 5 };
}
@Override
protected int[] getFluidInputPosY() {
return new int[] { 17 - 11 };
}
@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 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();
}
}
|