diff options
author | chochem <40274384+chochem@users.noreply.github.com> | 2023-05-17 18:38:56 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-17 19:38:56 +0200 |
commit | 4323ab8af257370237d8fd312e9e4024bccc67ab (patch) | |
tree | 46b51d9db218e6a5b18518f4d42bb0325e729d72 /src/main/java/gregtech/common/blocks | |
parent | 8e59f92c37c7d035c9c914aff4dbedfb77f0fec9 (diff) | |
download | GT5-Unofficial-4323ab8af257370237d8fd312e9e4024bccc67ab.tar.gz GT5-Unofficial-4323ab8af257370237d8fd312e9e4024bccc67ab.tar.bz2 GT5-Unofficial-4323ab8af257370237d8fd312e9e4024bccc67ab.zip |
More RA2 conversion for automatic gt recipes (#2000)
* fully convert all wiremill recipes and clean up unnecessary duplicate code
* fully convert all polarizer recipes
* fully convert all canner recipes
* RA2 for oredict plank recipes
* RA2 for oredict stoneCobble recipes
* convert some assembler recipes to RA2
* fix
* fix2
* remove recipes that were never in the game
Diffstat (limited to 'src/main/java/gregtech/common/blocks')
-rw-r--r-- | src/main/java/gregtech/common/blocks/GT_Block_Stones_Abstract.java | 29 |
1 files changed, 17 insertions, 12 deletions
diff --git a/src/main/java/gregtech/common/blocks/GT_Block_Stones_Abstract.java b/src/main/java/gregtech/common/blocks/GT_Block_Stones_Abstract.java index 138d7a6e8a..0cfa6477fd 100644 --- a/src/main/java/gregtech/common/blocks/GT_Block_Stones_Abstract.java +++ b/src/main/java/gregtech/common/blocks/GT_Block_Stones_Abstract.java @@ -1,5 +1,6 @@ package gregtech.common.blocks; +import static gregtech.api.util.GT_Recipe.GT_Recipe_Map.sAssemblerRecipes; import static gregtech.api.util.GT_Recipe.GT_Recipe_Map.sHammerRecipes; import static gregtech.api.util.GT_Recipe.GT_Recipe_Map.sLaserEngraverRecipes; import static gregtech.api.util.GT_RecipeBuilder.SECONDS; @@ -65,18 +66,22 @@ public class GT_Block_Stones_Abstract extends GT_Generic_Block implements IOreRe } private void registerAssemblerRecipes() { - GT_Values.RA.addAssemblerRecipe( - new ItemStack(this, 1, 0), - ItemList.Circuit_Integrated.getWithDamage(0L, 4L), - new ItemStack(this, 1, 3), - 50, - 4); - GT_Values.RA.addAssemblerRecipe( - new ItemStack(this, 1, 8), - ItemList.Circuit_Integrated.getWithDamage(0L, 4L), - new ItemStack(this, 1, 11), - 50, - 4); + GT_Values.RA.stdBuilder() + .itemInputs(new ItemStack(this, 1, 0), GT_Utility.getIntegratedCircuit(4)) + .itemOutputs(new ItemStack(this, 1, 3)) + .noFluidInputs() + .noFluidOutputs() + .duration(2 * SECONDS + 10 * TICKS) + .eut(4) + .addTo(sAssemblerRecipes); + GT_Values.RA.stdBuilder() + .itemInputs(new ItemStack(this, 1, 8), GT_Utility.getIntegratedCircuit(4)) + .itemOutputs(new ItemStack(this, 1, 11)) + .noFluidInputs() + .noFluidOutputs() + .duration(2 * SECONDS + 10 * TICKS) + .eut(4) + .addTo(sAssemblerRecipes); } private void registerCraftingRecipes() { |