Should fix any issues.
This commit is contained in:
parent
1d279c741f
commit
523d2c449e
5 changed files with 7 additions and 7 deletions
|
@ -22,7 +22,7 @@ public enum ToolDictNames {
|
||||||
craftingToolWireCutter,
|
craftingToolWireCutter,
|
||||||
craftingToolBranchCutter,
|
craftingToolBranchCutter,
|
||||||
craftingToolHardHammer,
|
craftingToolHardHammer,
|
||||||
craftingToolSoftMallet,
|
craftingToolSoftHammer,
|
||||||
craftingToolJackHammer,
|
craftingToolJackHammer,
|
||||||
craftingToolMiningDrill,
|
craftingToolMiningDrill,
|
||||||
craftingToolForgeHammer,
|
craftingToolForgeHammer,
|
||||||
|
|
|
@ -726,7 +726,7 @@ public class GT_ModHandler {
|
||||||
* 'k' ToolDictNames.craftingToolKnive
|
* 'k' ToolDictNames.craftingToolKnive
|
||||||
* 'm' ToolDictNames.craftingToolMortar,
|
* 'm' ToolDictNames.craftingToolMortar,
|
||||||
* 'p' ToolDictNames.craftingToolDrawplate,
|
* 'p' ToolDictNames.craftingToolDrawplate,
|
||||||
* 'r' ToolDictNames.craftingToolSoftMallet,
|
* 'r' ToolDictNames.craftingToolSoftHammer,
|
||||||
* 's' ToolDictNames.craftingToolSaw,
|
* 's' ToolDictNames.craftingToolSaw,
|
||||||
* 'w' ToolDictNames.craftingToolWrench,
|
* 'w' ToolDictNames.craftingToolWrench,
|
||||||
* 'x' ToolDictNames.craftingToolWireCutter,
|
* 'x' ToolDictNames.craftingToolWireCutter,
|
||||||
|
@ -754,7 +754,7 @@ public class GT_ModHandler {
|
||||||
* 'k' ToolDictNames.craftingToolKnive
|
* 'k' ToolDictNames.craftingToolKnive
|
||||||
* 'm' ToolDictNames.craftingToolMortar,
|
* 'm' ToolDictNames.craftingToolMortar,
|
||||||
* 'p' ToolDictNames.craftingToolDrawplate,
|
* 'p' ToolDictNames.craftingToolDrawplate,
|
||||||
* 'r' ToolDictNames.craftingToolSoftMallet,
|
* 'r' ToolDictNames.craftingToolSoftHammer,
|
||||||
* 's' ToolDictNames.craftingToolSaw,
|
* 's' ToolDictNames.craftingToolSaw,
|
||||||
* 'w' ToolDictNames.craftingToolWrench,
|
* 'w' ToolDictNames.craftingToolWrench,
|
||||||
* 'x' ToolDictNames.craftingToolWireCutter,
|
* 'x' ToolDictNames.craftingToolWireCutter,
|
||||||
|
@ -842,7 +842,7 @@ public class GT_ModHandler {
|
||||||
break;
|
break;
|
||||||
case 'r':
|
case 'r':
|
||||||
tRecipeList.add(c);
|
tRecipeList.add(c);
|
||||||
tRecipeList.add(ToolDictNames.craftingToolSoftMallet.name());
|
tRecipeList.add(ToolDictNames.craftingToolSoftHammer.name());
|
||||||
break;
|
break;
|
||||||
case 's':
|
case 's':
|
||||||
tRecipeList.add(c);
|
tRecipeList.add(c);
|
||||||
|
|
|
@ -15,7 +15,7 @@ public class ProcessingPipeLarge 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) {
|
||||||
if ((!aMaterial.contains(SubTag.NO_WORKING)) && ((aMaterial.contains(SubTag.WOOD)) || (!aMaterial.contains(SubTag.NO_SMASHING)))) {
|
if ((!aMaterial.contains(SubTag.NO_WORKING)) && ((aMaterial.contains(SubTag.WOOD)) || (!aMaterial.contains(SubTag.NO_SMASHING)))) {
|
||||||
GT_ModHandler.addCraftingRecipe(GT_Utility.copyAmount(1L, new Object[]{aStack}), GT_ModHandler.RecipeBits.MIRRORED | GT_ModHandler.RecipeBits.DO_NOT_CHECK_FOR_COLLISIONS | GT_ModHandler.RecipeBits.BUFFERED, new Object[]{"PHP", "P P", "PWP", Character.valueOf('P'), aMaterial == Materials.Wood ? OrePrefixes.plank.get(aMaterial) : OrePrefixes.plate.get(aMaterial), Character.valueOf('H'), aMaterial.contains(SubTag.WOOD) ? ToolDictNames.craftingToolSoftMallet : ToolDictNames.craftingToolHardHammer, Character.valueOf('W'), aMaterial.contains(SubTag.WOOD) ? ToolDictNames.craftingToolSaw : ToolDictNames.craftingToolWrench});
|
GT_ModHandler.addCraftingRecipe(GT_Utility.copyAmount(1L, new Object[]{aStack}), GT_ModHandler.RecipeBits.MIRRORED | GT_ModHandler.RecipeBits.DO_NOT_CHECK_FOR_COLLISIONS | GT_ModHandler.RecipeBits.BUFFERED, new Object[]{"PHP", "P P", "PWP", Character.valueOf('P'), aMaterial == Materials.Wood ? OrePrefixes.plank.get(aMaterial) : OrePrefixes.plate.get(aMaterial), Character.valueOf('H'), aMaterial.contains(SubTag.WOOD) ? ToolDictNames.craftingToolSoftHammer : ToolDictNames.craftingToolHardHammer, Character.valueOf('W'), aMaterial.contains(SubTag.WOOD) ? ToolDictNames.craftingToolSaw : ToolDictNames.craftingToolWrench});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,7 +15,7 @@ public class ProcessingPipeMedium implements gregtech.api.interfaces.IOreRecipeR
|
||||||
|
|
||||||
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) {
|
||||||
if ((!aMaterial.contains(SubTag.NO_WORKING)) && ((aMaterial.contains(SubTag.WOOD)) || (!aMaterial.contains(SubTag.NO_SMASHING)))) {
|
if ((!aMaterial.contains(SubTag.NO_WORKING)) && ((aMaterial.contains(SubTag.WOOD)) || (!aMaterial.contains(SubTag.NO_SMASHING)))) {
|
||||||
GT_ModHandler.addCraftingRecipe(GT_Utility.copyAmount(2L, new Object[]{aStack}), GT_ModHandler.RecipeBits.MIRRORED | GT_ModHandler.RecipeBits.DO_NOT_CHECK_FOR_COLLISIONS | GT_ModHandler.RecipeBits.BUFFERED, new Object[]{"PPP", "W H", "PPP", Character.valueOf('P'), aMaterial == Materials.Wood ? OrePrefixes.plank.get(aMaterial) : OrePrefixes.plate.get(aMaterial), Character.valueOf('H'), aMaterial.contains(SubTag.WOOD) ? ToolDictNames.craftingToolSoftMallet : ToolDictNames.craftingToolHardHammer, Character.valueOf('W'), aMaterial.contains(SubTag.WOOD) ? ToolDictNames.craftingToolSaw : ToolDictNames.craftingToolWrench});
|
GT_ModHandler.addCraftingRecipe(GT_Utility.copyAmount(2L, new Object[]{aStack}), GT_ModHandler.RecipeBits.MIRRORED | GT_ModHandler.RecipeBits.DO_NOT_CHECK_FOR_COLLISIONS | GT_ModHandler.RecipeBits.BUFFERED, new Object[]{"PPP", "W H", "PPP", Character.valueOf('P'), aMaterial == Materials.Wood ? OrePrefixes.plank.get(aMaterial) : OrePrefixes.plate.get(aMaterial), Character.valueOf('H'), aMaterial.contains(SubTag.WOOD) ? ToolDictNames.craftingToolSoftHammer : ToolDictNames.craftingToolHardHammer, Character.valueOf('W'), aMaterial.contains(SubTag.WOOD) ? ToolDictNames.craftingToolSaw : ToolDictNames.craftingToolWrench});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,7 +15,7 @@ public class ProcessingPipeSmall 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) {
|
||||||
if ((!aMaterial.contains(SubTag.NO_WORKING)) && ((aMaterial.contains(SubTag.WOOD)) || (!aMaterial.contains(SubTag.NO_SMASHING)))) {
|
if ((!aMaterial.contains(SubTag.NO_WORKING)) && ((aMaterial.contains(SubTag.WOOD)) || (!aMaterial.contains(SubTag.NO_SMASHING)))) {
|
||||||
GT_ModHandler.addCraftingRecipe(GT_Utility.copyAmount(6L, new Object[]{aStack}), GT_ModHandler.RecipeBits.MIRRORED | GT_ModHandler.RecipeBits.DO_NOT_CHECK_FOR_COLLISIONS | GT_ModHandler.RecipeBits.BUFFERED, new Object[]{"PWP", "P P", "PHP", Character.valueOf('P'), aMaterial == Materials.Wood ? OrePrefixes.plank.get(aMaterial) : OrePrefixes.plate.get(aMaterial), Character.valueOf('H'), aMaterial.contains(SubTag.WOOD) ? ToolDictNames.craftingToolSoftMallet : ToolDictNames.craftingToolHardHammer, Character.valueOf('W'), aMaterial.contains(SubTag.WOOD) ? ToolDictNames.craftingToolSaw : ToolDictNames.craftingToolWrench});
|
GT_ModHandler.addCraftingRecipe(GT_Utility.copyAmount(6L, new Object[]{aStack}), GT_ModHandler.RecipeBits.MIRRORED | GT_ModHandler.RecipeBits.DO_NOT_CHECK_FOR_COLLISIONS | GT_ModHandler.RecipeBits.BUFFERED, new Object[]{"PWP", "P P", "PHP", Character.valueOf('P'), aMaterial == Materials.Wood ? OrePrefixes.plank.get(aMaterial) : OrePrefixes.plate.get(aMaterial), Character.valueOf('H'), aMaterial.contains(SubTag.WOOD) ? ToolDictNames.craftingToolSoftHammer : ToolDictNames.craftingToolHardHammer, Character.valueOf('W'), aMaterial.contains(SubTag.WOOD) ? ToolDictNames.craftingToolSaw : ToolDictNames.craftingToolWrench});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue