Fixes #1426
This commit is contained in:
parent
6c9712956c
commit
af57ef708d
2 changed files with 26 additions and 2 deletions
|
@ -30,6 +30,8 @@ import techreborn.api.recipe.BaseRecipe;
|
|||
|
||||
public class GrinderRecipe extends BaseRecipe {
|
||||
|
||||
public boolean useOreDict = true;
|
||||
|
||||
public GrinderRecipe(ItemStack input1, ItemStack output1, int tickTime, int euPerTick) {
|
||||
super(Reference.grinderRecipe, tickTime, euPerTick / 10); //Done to buff energy usage to be more in line with ic2
|
||||
if (input1 != null)
|
||||
|
@ -38,6 +40,20 @@ public class GrinderRecipe extends BaseRecipe {
|
|||
addOutput(output1);
|
||||
}
|
||||
|
||||
public GrinderRecipe(ItemStack input1, ItemStack output1, int tickTime, int euPerTick, boolean useOreDict) {
|
||||
super(Reference.grinderRecipe, tickTime, euPerTick / 10); //Done to buff energy usage to be more in line with ic2
|
||||
this.useOreDict = useOreDict;
|
||||
if (input1 != null)
|
||||
addInput(input1);
|
||||
if (output1 != null)
|
||||
addOutput(output1);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean useOreDic() {
|
||||
return useOreDict;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getUserFreindlyName() {
|
||||
return "Grinder";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue