|
1 | 1 | package com.github.gtexpert.gtbm.integration.forestry.recipes; |
2 | 2 |
|
| 3 | +import net.minecraft.item.ItemStack; |
| 4 | +import net.minecraftforge.fluids.FluidStack; |
| 5 | + |
| 6 | +import gregtech.api.recipes.GTRecipeHandler; |
3 | 7 | import gregtech.api.recipes.ModHandler; |
| 8 | +import gregtech.api.recipes.RecipeMaps; |
| 9 | +import gregtech.api.unification.OreDictUnifier; |
| 10 | +import gregtech.api.unification.material.Materials; |
| 11 | +import gregtech.api.unification.ore.OrePrefix; |
| 12 | +import gregtech.common.items.MetaItems; |
4 | 13 |
|
5 | 14 | import com.github.gtexpert.gtbm.api.util.Mods; |
6 | 15 |
|
@@ -49,6 +58,23 @@ public static void materialsCore() { |
49 | 58 |
|
50 | 59 | // Apatite Block |
51 | 60 | ModHandler.removeRecipeByName(Mods.Forestry.getResource("apatite_block")); |
| 61 | + |
| 62 | + // Remove GT Fertilizer -> Forestry fertilizer_compound bulk recipes |
| 63 | + GTRecipeHandler.removeRecipesByInputs(RecipeMaps.MIXER_RECIPES, |
| 64 | + new ItemStack[] { |
| 65 | + MetaItems.FERTILIZER.getStackForm(8), |
| 66 | + OreDictUnifier.get(OrePrefix.dust, Materials.Apatite) |
| 67 | + }, |
| 68 | + new FluidStack[] { Materials.Water.getFluid(1000) }); |
| 69 | + |
| 70 | + if (Mods.MagicBees.isModLoaded()) { |
| 71 | + GTRecipeHandler.removeRecipesByInputs(RecipeMaps.MIXER_RECIPES, |
| 72 | + new ItemStack[] { |
| 73 | + MetaItems.FERTILIZER.getStackForm(8), |
| 74 | + Mods.MagicBees.getItem("resource", 1, 2) |
| 75 | + }, |
| 76 | + new FluidStack[] { Materials.Water.getFluid(1000) }); |
| 77 | + } |
52 | 78 | } |
53 | 79 |
|
54 | 80 | public static void materialCharcoal() { |
|
0 commit comments