|
4 | 4 |
|
5 | 5 | import java.util.function.Consumer; |
6 | 6 |
|
| 7 | +import static com.gregtechceu.gtceu.api.data.tag.TagPrefix.*; |
| 8 | +import static com.gregtechceu.gtceu.common.data.GTMaterials.*; |
| 9 | +import static com.illuminatijoe.refactorycore.data.recipes.ReFactoryCoreRecipeTypes.ADVANCED_PRIMITIVE_BLAST_FURNACE_RECIPES; |
| 10 | + |
7 | 11 | public class ReFactoryCoreRecipes { |
8 | 12 |
|
9 | | - public static void init(Consumer<FinishedRecipe> provider) {} |
| 13 | + public static final int REDUCED_DURATION = (int) (20 * 0.75); |
| 14 | + |
| 15 | + public static void init(Consumer<FinishedRecipe> provider) { |
| 16 | + ADVANCED_PRIMITIVE_BLAST_FURNACE_RECIPES.recipeBuilder("steel_from_coal_gem") |
| 17 | + .inputItems(ingot, Iron) |
| 18 | + .inputItems(gem, Coal, 2) |
| 19 | + .outputItems(ingot, Steel) |
| 20 | + .outputItems(dustTiny, DarkAsh, 2) |
| 21 | + .duration(90 * REDUCED_DURATION) |
| 22 | + .save(provider); |
| 23 | + |
| 24 | + ADVANCED_PRIMITIVE_BLAST_FURNACE_RECIPES.recipeBuilder("steel_from_coal_dust") |
| 25 | + .inputItems(ingot, Iron) |
| 26 | + .inputItems(dust, Coal, 2) |
| 27 | + .outputItems(ingot, Steel) |
| 28 | + .outputItems(dustTiny, DarkAsh, 2) |
| 29 | + .duration(90 * REDUCED_DURATION) |
| 30 | + .save(provider); |
| 31 | + |
| 32 | + ADVANCED_PRIMITIVE_BLAST_FURNACE_RECIPES.recipeBuilder("steel_from_charcoal_gem") |
| 33 | + .inputItems(ingot, Iron) |
| 34 | + .inputItems(gem, Charcoal, 2) |
| 35 | + .outputItems(ingot, Steel) |
| 36 | + .outputItems(dustTiny, DarkAsh, 2) |
| 37 | + .duration(90 * REDUCED_DURATION) |
| 38 | + .save(provider); |
| 39 | + |
| 40 | + ADVANCED_PRIMITIVE_BLAST_FURNACE_RECIPES.recipeBuilder("steel_from_charcoal_dust") |
| 41 | + .inputItems(ingot, Iron) |
| 42 | + .inputItems(dust, Charcoal, 2) |
| 43 | + .outputItems(ingot, Steel) |
| 44 | + .outputItems(dustTiny, DarkAsh, 2) |
| 45 | + .duration(120 * REDUCED_DURATION) |
| 46 | + .save(provider); |
| 47 | + |
| 48 | + ADVANCED_PRIMITIVE_BLAST_FURNACE_RECIPES.recipeBuilder("steel_from_coke_gem") |
| 49 | + .inputItems(ingot, Iron) |
| 50 | + .inputItems(gem, Coke) |
| 51 | + .outputItems(ingot, Steel) |
| 52 | + .chancedOutput(dust, Ash, "1/9", 0) |
| 53 | + .duration(50 * REDUCED_DURATION) |
| 54 | + .save(provider); |
| 55 | + |
| 56 | + ADVANCED_PRIMITIVE_BLAST_FURNACE_RECIPES.recipeBuilder("steel_from_coke_dust") |
| 57 | + .inputItems(ingot, Iron) |
| 58 | + .inputItems(dust, Coke) |
| 59 | + .outputItems(ingot, Steel) |
| 60 | + .chancedOutput(dust, Ash, "1/9", 0) |
| 61 | + .duration(50 * REDUCED_DURATION) |
| 62 | + .save(provider); |
| 63 | + |
| 64 | + // Block variants |
| 65 | + ADVANCED_PRIMITIVE_BLAST_FURNACE_RECIPES.recipeBuilder("steel_from_coal_block") |
| 66 | + .inputItems(block, Iron) |
| 67 | + .inputItems(block, Coal, 2) |
| 68 | + .outputItems(block, Steel) |
| 69 | + .outputItems(dust, DarkAsh, 2) |
| 70 | + .duration(810 * REDUCED_DURATION) |
| 71 | + .save(provider); |
| 72 | + |
| 73 | + ADVANCED_PRIMITIVE_BLAST_FURNACE_RECIPES.recipeBuilder("steel_from_charcoal_block") |
| 74 | + .inputItems(block, Iron) |
| 75 | + .inputItems(block, Charcoal, 2) |
| 76 | + .outputItems(block, Steel) |
| 77 | + .outputItems(dust, DarkAsh, 2) |
| 78 | + .duration(810 * REDUCED_DURATION) |
| 79 | + .save(provider); |
| 80 | + |
| 81 | + ADVANCED_PRIMITIVE_BLAST_FURNACE_RECIPES.recipeBuilder("steel_from_coke_block") |
| 82 | + .inputItems(block, Iron) |
| 83 | + .inputItems(block, Coke) |
| 84 | + .outputItems(block, Steel) |
| 85 | + .outputItems(dust, Ash) |
| 86 | + .duration(450 * REDUCED_DURATION) |
| 87 | + .save(provider); |
| 88 | + |
| 89 | + // Wrought Iron variants |
| 90 | + ADVANCED_PRIMITIVE_BLAST_FURNACE_RECIPES.recipeBuilder("steel_from_coal_gem_wrought") |
| 91 | + .inputItems(ingot, WroughtIron) |
| 92 | + .inputItems(gem, Coal, 2) |
| 93 | + .outputItems(ingot, Steel) |
| 94 | + .outputItems(dustTiny, DarkAsh, 2) |
| 95 | + .duration(40 * REDUCED_DURATION) |
| 96 | + .save(provider); |
| 97 | + |
| 98 | + ADVANCED_PRIMITIVE_BLAST_FURNACE_RECIPES.recipeBuilder("steel_from_coal_dust_wrought") |
| 99 | + .inputItems(ingot, WroughtIron) |
| 100 | + .inputItems(dust, Coal, 2) |
| 101 | + .outputItems(ingot, Steel) |
| 102 | + .outputItems(dustTiny, DarkAsh, 2) |
| 103 | + .duration(40 * REDUCED_DURATION) |
| 104 | + .save(provider); |
| 105 | + |
| 106 | + ADVANCED_PRIMITIVE_BLAST_FURNACE_RECIPES.recipeBuilder("steel_from_charcoal_gem_wrought") |
| 107 | + .inputItems(ingot, WroughtIron) |
| 108 | + .inputItems(gem, Charcoal, 2) |
| 109 | + .outputItems(ingot, Steel) |
| 110 | + .outputItems(dustTiny, DarkAsh, 2) |
| 111 | + .duration(40 * REDUCED_DURATION) |
| 112 | + .save(provider); |
| 113 | + |
| 114 | + ADVANCED_PRIMITIVE_BLAST_FURNACE_RECIPES.recipeBuilder("steel_from_charcoal_dust_wrought") |
| 115 | + .inputItems(ingot, WroughtIron) |
| 116 | + .inputItems(dust, Charcoal, 2) |
| 117 | + .outputItems(ingot, Steel) |
| 118 | + .outputItems(dustTiny, DarkAsh, 2) |
| 119 | + .duration(40 * REDUCED_DURATION) |
| 120 | + .save(provider); |
| 121 | + |
| 122 | + ADVANCED_PRIMITIVE_BLAST_FURNACE_RECIPES.recipeBuilder("steel_from_coke_gem_wrought") |
| 123 | + .inputItems(ingot, WroughtIron) |
| 124 | + .inputItems(gem, Coke) |
| 125 | + .outputItems(ingot, Steel) |
| 126 | + .chancedOutput(dust, Ash, "1/9", 0) |
| 127 | + .duration(20 * REDUCED_DURATION) |
| 128 | + .save(provider); |
| 129 | + |
| 130 | + ADVANCED_PRIMITIVE_BLAST_FURNACE_RECIPES.recipeBuilder("steel_from_coke_dust_wrought") |
| 131 | + .inputItems(ingot, WroughtIron) |
| 132 | + .inputItems(dust, Coke) |
| 133 | + .outputItems(ingot, Steel) |
| 134 | + .chancedOutput(dust, Ash, "1/9", 0) |
| 135 | + .duration(20 * REDUCED_DURATION) |
| 136 | + .save(provider); |
| 137 | + |
| 138 | + // Wrought Iron block variants |
| 139 | + ADVANCED_PRIMITIVE_BLAST_FURNACE_RECIPES.recipeBuilder("steel_from_coal_block_wrought") |
| 140 | + .inputItems(block, WroughtIron) |
| 141 | + .inputItems(block, Coal, 2) |
| 142 | + .outputItems(block, Steel) |
| 143 | + .outputItems(dust, DarkAsh, 2) |
| 144 | + .duration(360 * REDUCED_DURATION) |
| 145 | + .save(provider); |
| 146 | + |
| 147 | + ADVANCED_PRIMITIVE_BLAST_FURNACE_RECIPES.recipeBuilder("steel_from_charcoal_block_wrought") |
| 148 | + .inputItems(block, WroughtIron) |
| 149 | + .inputItems(block, Charcoal, 2) |
| 150 | + .outputItems(block, Steel) |
| 151 | + .outputItems(dust, DarkAsh, 2) |
| 152 | + .duration(360 * REDUCED_DURATION) |
| 153 | + .save(provider); |
| 154 | + |
| 155 | + ADVANCED_PRIMITIVE_BLAST_FURNACE_RECIPES.recipeBuilder("steel_from_coke_block_wrought") |
| 156 | + .inputItems(block, WroughtIron) |
| 157 | + .inputItems(block, Coke) |
| 158 | + .outputItems(block, Steel) |
| 159 | + .outputItems(dust, Ash) |
| 160 | + .duration(180 * REDUCED_DURATION) |
| 161 | + .save(provider); |
| 162 | + } |
10 | 163 | } |
0 commit comments