fixed the 32 to 30 eu recipe 128-120 etc

Added Huge and tin pipe crafting recipes @Technus are you ok with this recipe changes ?
This commit is contained in:
Dream-Master 2017-02-24 01:40:42 +01:00
parent 6977bbd215
commit 469cd27012
2 changed files with 46 additions and 0 deletions

View file

@ -0,0 +1,23 @@
package gregtech.loaders.oreprocessing;
import gregtech.api.enums.Materials;
import gregtech.api.enums.OrePrefixes;
import gregtech.api.enums.SubTag;
import gregtech.api.enums.ToolDictNames;
import gregtech.api.util.GT_ModHandler;
import gregtech.api.util.GT_Utility;
import net.minecraft.item.ItemStack;
public class ProcessingPipeHuge implements gregtech.api.interfaces.IOreRecipeRegistrator {
public ProcessingPipeHuge() {
OrePrefixes.pipeHuge.add(this);
}
public void registerOre(OrePrefixes aPrefix, Materials aMaterial, String aOreDictName, String aModName, ItemStack aStack) {
if ((!aMaterial.contains(SubTag.NO_WORKING)) || (!aMaterial.contains(SubTag.NO_SMASHING))) {
if (!(aMaterial == Materials.Redstone || aMaterial == Materials.Glowstone)) {
GT_ModHandler.addCraftingRecipe(GT_Utility.copyAmount(1L, new Object[]{aStack}), GT_ModHandler.RecipeBits.DO_NOT_CHECK_FOR_COLLISIONS | GT_ModHandler.RecipeBits.BUFFERED, new Object[]{"DHD", "D D", "DWD", 'D', OrePrefixes.plateDouble.get(aMaterial), 'H', ToolDictNames.craftingToolHardHammer, 'W', ToolDictNames.craftingToolWrench});
}
}
}
}

View file

@ -0,0 +1,23 @@
package gregtech.loaders.oreprocessing;
import gregtech.api.enums.Materials;
import gregtech.api.enums.OrePrefixes;
import gregtech.api.enums.SubTag;
import gregtech.api.enums.ToolDictNames;
import gregtech.api.util.GT_ModHandler;
import gregtech.api.util.GT_Utility;
import net.minecraft.item.ItemStack;
public class ProcessingPipeTiny implements gregtech.api.interfaces.IOreRecipeRegistrator {
public ProcessingPipeTiny() {
OrePrefixes.pipeTiny.add(this);
}
public void registerOre(OrePrefixes aPrefix, Materials aMaterial, String aOreDictName, String aModName, ItemStack aStack) {
if ((!aMaterial.contains(SubTag.NO_WORKING)) || (!aMaterial.contains(SubTag.NO_SMASHING))) {
if (!(aMaterial == Materials.Redstone || aMaterial == Materials.Glowstone)) {
GT_ModHandler.addCraftingRecipe(GT_Utility.copyAmount(8L, new Object[]{aStack}), GT_ModHandler.RecipeBits.DO_NOT_CHECK_FOR_COLLISIONS | GT_ModHandler.RecipeBits.BUFFERED, new Object[]{"PPP", "H W", "PPP", 'P', OrePrefixes.plate.get(aMaterial), 'H', ToolDictNames.craftingToolHardHammer, 'W', ToolDictNames.craftingToolWrench});
}
}
}
}