Add gem upgrading recipes
This commit is contained in:
parent
b6c708af8c
commit
beacdec1d7
1 changed files with 17 additions and 1 deletions
|
@ -7,6 +7,7 @@ import gregtech.api.util.GT_OreDictUnificator;
|
||||||
import gregtech.api.util.GT_Utility;
|
import gregtech.api.util.GT_Utility;
|
||||||
import gregtech.common.GT_Proxy;
|
import gregtech.common.GT_Proxy;
|
||||||
import net.minecraft.item.ItemStack;
|
import net.minecraft.item.ItemStack;
|
||||||
|
import net.minecraftforge.oredict.OreDictionary;
|
||||||
|
|
||||||
public class ProcessingGem implements gregtech.api.interfaces.IOreRecipeRegistrator {//TODO COMPARE WITH GEM??? generators
|
public class ProcessingGem implements gregtech.api.interfaces.IOreRecipeRegistrator {//TODO COMPARE WITH GEM??? generators
|
||||||
public ProcessingGem() {
|
public ProcessingGem() {
|
||||||
|
@ -70,7 +71,10 @@ public class ProcessingGem implements gregtech.api.interfaces.IOreRecipeRegistra
|
||||||
case "CertusQuartz":
|
case "CertusQuartz":
|
||||||
GT_Values.RA.addElectrolyzerRecipe(aStack, 0, GT_ModHandler.getModItem("appliedenergistics2", "item.ItemMultiMaterial", 1L, 1), null, null, null, null, null, 2000, 30);
|
GT_Values.RA.addElectrolyzerRecipe(aStack, 0, GT_ModHandler.getModItem("appliedenergistics2", "item.ItemMultiMaterial", 1L, 1), null, null, null, null, null, 2000, 30);
|
||||||
}
|
}
|
||||||
|
for(ItemStack is: OreDictionary.getOres("craftingLens"+aMaterial.mColor.mName.replace(" ",""))) {//Engraver Recipe adder
|
||||||
|
is.stackSize=0;
|
||||||
|
GT_Values.RA.addLaserEngraverRecipe(GT_Utility.copyAmount(3L, new Object[]{aStack}), is, GT_OreDictUnificator.get(OrePrefixes.gemFlawless, aMaterial, 1L), 1200, 480);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case gemChipped:
|
case gemChipped:
|
||||||
if (aFuelPower)
|
if (aFuelPower)
|
||||||
|
@ -83,6 +87,10 @@ public class ProcessingGem implements gregtech.api.interfaces.IOreRecipeRegistra
|
||||||
GT_ModHandler.addCraftingRecipe(GT_OreDictUnificator.get(OrePrefixes.dustSmall, aMaterial, 1L), GT_Proxy.tBits, new Object[]{"X", "m", Character.valueOf('X'), OrePrefixes.gemChipped.get(aMaterial)});
|
GT_ModHandler.addCraftingRecipe(GT_OreDictUnificator.get(OrePrefixes.dustSmall, aMaterial, 1L), GT_Proxy.tBits, new Object[]{"X", "m", Character.valueOf('X'), OrePrefixes.gemChipped.get(aMaterial)});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
for(ItemStack is: OreDictionary.getOres("craftingLens"+aMaterial.mColor.mName.replace(" ",""))){//Engraver Recipe adder
|
||||||
|
is.stackSize=0;
|
||||||
|
GT_Values.RA.addLaserEngraverRecipe(GT_Utility.copyAmount(3L, new Object[]{aStack}), is, GT_OreDictUnificator.get(OrePrefixes.gemFlawed, aMaterial, 1L),600,30);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case gemExquisite:
|
case gemExquisite:
|
||||||
if (aFuelPower)
|
if (aFuelPower)
|
||||||
|
@ -106,6 +114,10 @@ public class ProcessingGem implements gregtech.api.interfaces.IOreRecipeRegistra
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
GT_Values.RA.addForgeHammerRecipe(aStack, GT_OreDictUnificator.get(OrePrefixes.gemChipped, aMaterial, 2L), 64, 16);
|
GT_Values.RA.addForgeHammerRecipe(aStack, GT_OreDictUnificator.get(OrePrefixes.gemChipped, aMaterial, 2L), 64, 16);
|
||||||
|
for(ItemStack is: OreDictionary.getOres("craftingLens"+aMaterial.mColor.mName.replace(" ",""))){//Engraver Recipe adder
|
||||||
|
is.stackSize=0;
|
||||||
|
GT_Values.RA.addLaserEngraverRecipe(GT_Utility.copyAmount(3L, new Object[]{aStack}), is, GT_OreDictUnificator.get(OrePrefixes.gem, aMaterial, 1L),600,120);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case gemFlawless:
|
case gemFlawless:
|
||||||
if (aFuelPower)
|
if (aFuelPower)
|
||||||
|
@ -119,6 +131,10 @@ public class ProcessingGem implements gregtech.api.interfaces.IOreRecipeRegistra
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
GT_Values.RA.addForgeHammerRecipe(aStack, GT_OreDictUnificator.get(OrePrefixes.gem, aMaterial, 2L), 64, 16);
|
GT_Values.RA.addForgeHammerRecipe(aStack, GT_OreDictUnificator.get(OrePrefixes.gem, aMaterial, 2L), 64, 16);
|
||||||
|
for(ItemStack is: OreDictionary.getOres("craftingLens"+aMaterial.mColor.mName.replace(" ",""))){//Engraver Recipe adder
|
||||||
|
is.stackSize=0;
|
||||||
|
GT_Values.RA.addLaserEngraverRecipe(GT_Utility.copyAmount(3L, new Object[]{aStack}), is, GT_OreDictUnificator.get(OrePrefixes.gemExquisite, aMaterial, 1L),2400,2000);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue