|
17 | 17 | import com.github.gtexpert.gtbm.api.util.ModUtility; |
18 | 18 | import com.github.gtexpert.gtbm.api.util.Mods; |
19 | 19 | import com.github.gtexpert.gtbm.integration.forestry.ForestryConfigHolder; |
20 | | -import com.github.gtexpert.gtbm.integration.forestry.ForestryUtility; |
21 | 20 | import com.github.gtexpert.gtbm.integration.forestry.recipes.machines.CarpenterLoader; |
| 21 | +import com.github.gtexpert.gtbm.integration.forestry.util.ForestryRecipeHelper; |
22 | 22 |
|
23 | 23 | import forestry.api.recipes.RecipeManagers; |
24 | 24 |
|
25 | 25 | public class GeneticsItemsRecipe { |
26 | 26 |
|
27 | 27 | public static void init() { |
28 | | - Enum<ForestryUtility.recipeMode> recipeMode = ForestryUtility.recipeMode |
| 28 | + Enum<ForestryRecipeHelper.RecipeMode> recipeMode = ForestryRecipeHelper.RecipeMode |
29 | 29 | .safeValueOf(ForestryConfigHolder.gameMode); |
30 | 30 |
|
31 | 31 | // Gene Database |
32 | 32 | ModHandler.addShapelessNBTClearingRecipe("gene_database_nbt", |
33 | 33 | Mods.Genetics.getItem("geneticdatabase"), |
34 | 34 | Mods.Genetics.getItem("geneticdatabase")); |
35 | 35 |
|
36 | | - if (recipeMode == ForestryUtility.recipeMode.HARD) { |
| 36 | + if (recipeMode == ForestryRecipeHelper.RecipeMode.HARD) { |
37 | 37 | // Reinforced Casing |
38 | 38 | ModHandler.removeRecipeByName(Mods.Genetics.getResource("laboratory_casing")); |
39 | 39 | RecipeMaps.ASSEMBLER_RECIPES.recipeBuilder() |
40 | 40 | .input(plate, Materials.Aluminium, 4) |
41 | 41 | .inputs(Mods.Forestry.getItem("sturdy_machine")) |
42 | 42 | .fluidInputs(Materials.Water.getFluid(1000)) |
43 | 43 | .outputs(Mods.Genetics.getItem("misc")) |
44 | | - .EUt(VA[MV]).duration(ForestryUtility.timeCarpenter(75)).buildAndRegister(); |
| 44 | + .EUt(VA[MV]).duration(ForestryRecipeHelper.timeCarpenter(75)).buildAndRegister(); |
45 | 45 | RecipeManagers.carpenterManager.addRecipe( |
46 | 46 | 75, Materials.Water.getFluid(5000), |
47 | 47 | ItemStack.EMPTY, Mods.Genetics.getItem("misc"), |
|
0 commit comments