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,17 +72,28 @@ public class GT_MetaTileEntity_BasicMachine_GT_Recipe extends GT_MetaTileEntity_
|
||||||
}
|
}
|
||||||
|
|
||||||
if (aRecipe[i] == X.GLASS) {
|
if (aRecipe[i] == X.GLASS) {
|
||||||
switch (mTier) {
|
if (Loader.isModLoaded("bartworks"){
|
||||||
case 6:
|
if (mTier>=8)
|
||||||
case 7:
|
aRecipe[i] = "blockGlass"+VN[8];
|
||||||
case 8:
|
else if (mTier < 3)
|
||||||
aRecipe[i] = Ic2Items.reinforcedGlass;
|
aRecipe[i] = "blockGlass"+VN[3];
|
||||||
break;
|
else
|
||||||
default:
|
aRecipe[i] = "blockGlass"+VN[mTier];
|
||||||
aRecipe[i] = new ItemStack(Blocks.glass, 1, W);
|
continue;
|
||||||
break;
|
}
|
||||||
|
else {
|
||||||
|
switch (mTier) {
|
||||||
|
case 6:
|
||||||
|
case 7:
|
||||||
|
case 8:
|
||||||
|
aRecipe[i] = Ic2Items.reinforcedGlass;
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
aRecipe[i] = new ItemStack(Blocks.glass, 1, W);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
continue;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (aRecipe[i] == X.PLATE) {
|
if (aRecipe[i] == X.PLATE) {
|
||||||
|
|
Loading…
Reference in a new issue