Merge pull request #1541 from bartimaeusnek/patch-2
Added BartWorks integration for BasicMachine recipes
This commit is contained in:
commit
34ab089c59
1 changed files with 21 additions and 10 deletions
|
@ -72,6 +72,16 @@ public class GT_MetaTileEntity_BasicMachine_GT_Recipe extends GT_MetaTileEntity_
|
|||
}
|
||||
|
||||
if (aRecipe[i] == X.GLASS) {
|
||||
if (Loader.isModLoaded("bartworks"){
|
||||
if (mTier>=8)
|
||||
aRecipe[i] = "blockGlass"+VN[8];
|
||||
else if (mTier < 3)
|
||||
aRecipe[i] = "blockGlass"+VN[3];
|
||||
else
|
||||
aRecipe[i] = "blockGlass"+VN[mTier];
|
||||
continue;
|
||||
}
|
||||
else {
|
||||
switch (mTier) {
|
||||
case 6:
|
||||
case 7:
|
||||
|
@ -84,6 +94,7 @@ public class GT_MetaTileEntity_BasicMachine_GT_Recipe extends GT_MetaTileEntity_
|
|||
}
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
if (aRecipe[i] == X.PLATE) {
|
||||
switch (mTier) {
|
||||
|
|
Loading…
Reference in a new issue