added small and large Spring Shaped crafting
This commit is contained in:
parent
d95fedd30e
commit
bef7dfe562
2 changed files with 2 additions and 0 deletions
|
@ -16,6 +16,7 @@ public class ProcessingStickLong implements gregtech.api.interfaces.IOreRecipeRe
|
||||||
}
|
}
|
||||||
|
|
||||||
public void registerOre(OrePrefixes aPrefix, Materials aMaterial, String aOreDictName, String aModName, ItemStack aStack) {
|
public void registerOre(OrePrefixes aPrefix, Materials aMaterial, String aOreDictName, String aModName, ItemStack aStack) {
|
||||||
|
GT_ModHandler.addCraftingRecipe(GT_OreDictUnificator.get(OrePrefixes.spring, aMaterial, 1L), new Object[]{" s ", "fSx", " S ", 'S', OrePrefixes.stickLong.get(aMaterial)});
|
||||||
if (!aMaterial.contains(SubTag.NO_WORKING)) {
|
if (!aMaterial.contains(SubTag.NO_WORKING)) {
|
||||||
GT_Values.RA.addCutterRecipe(GT_Utility.copyAmount(1L, new Object[]{aStack}), GT_OreDictUnificator.get(OrePrefixes.stick, aMaterial, 2L), null, (int) Math.max(aMaterial.getMass(), 1L), 4);
|
GT_Values.RA.addCutterRecipe(GT_Utility.copyAmount(1L, new Object[]{aStack}), GT_OreDictUnificator.get(OrePrefixes.stick, aMaterial, 2L), null, (int) Math.max(aMaterial.getMass(), 1L), 4);
|
||||||
if (aMaterial.mUnificatable && (aMaterial.mMaterialInto == aMaterial)) {
|
if (aMaterial.mUnificatable && (aMaterial.mMaterialInto == aMaterial)) {
|
||||||
|
|
|
@ -21,6 +21,7 @@ public class ProcessingWire implements gregtech.api.interfaces.IOreRecipeRegistr
|
||||||
}
|
}
|
||||||
|
|
||||||
public void registerOre(OrePrefixes aPrefix, Materials aMaterial, String aOreDictName, String aModName, ItemStack aStack) {
|
public void registerOre(OrePrefixes aPrefix, Materials aMaterial, String aOreDictName, String aModName, ItemStack aStack) {
|
||||||
|
GT_ModHandler.addCraftingRecipe(GT_OreDictUnificator.get(OrePrefixes.springSmall, aMaterial, 1L), new Object[]{" s ", "fPx", 'P', OrePrefixes.wireGt01.get(aMaterial)});
|
||||||
switch (aPrefix) {
|
switch (aPrefix) {
|
||||||
case wireGt01:
|
case wireGt01:
|
||||||
switch (aMaterial.mName){
|
switch (aMaterial.mName){
|
||||||
|
|
Loading…
Add table
Reference in a new issue