Skip to content

Commit

Permalink
Move fish trap recipe from gt++ to coremod (#1192)
Browse files Browse the repository at this point in the history
  • Loading branch information
serenibyss authored Feb 12, 2025
1 parent 9d3326d commit 10ae3e7
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/main/java/com/dreammaster/recipes/RecipeRemover.java
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@
import gregtech.api.util.GTModHandler;
import gregtech.api.util.GTOreDictUnificator;
import gregtech.api.util.GTUtility;
import gtPlusPlus.core.block.ModBlocks;
import gtPlusPlus.core.item.ModItems;

public class RecipeRemover {
Expand Down Expand Up @@ -1163,7 +1162,6 @@ public static void run() {
removeRecipeByOutputDelayed(getModItem(Forestry.ID, "fences", 1, wildcard, missing));
removeRecipeByOutputDelayed(getModItem(Forestry.ID, "cart.beehouse", 1, wildcard, missing));
removeRecipeByOutputDelayed(new ItemStack(ModItems.itemPersonalCloakingDevice));
removeRecipeByOutputDelayed(new ItemStack(ModBlocks.blockCompressedObsidian, 1, 5));
removeRecipeByOutputDelayed(getModItem(Gendustry.ID, "IndustrialApiary", 1, 0, missing));
removeRecipeByOutputDelayed(getModItem(Gendustry.ID, "MutagenProducer", 1, 0, missing));
removeRecipeByOutputDelayed(getModItem(Gendustry.ID, "Mutatron", 1, 0, missing));
Expand Down
15 changes: 15 additions & 0 deletions src/main/java/com/dreammaster/scripts/ScriptGregtechPlusPlus.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
import net.minecraftforge.fluids.FluidRegistry;

import com.dreammaster.gthandler.CustomItemList;
import com.dreammaster.item.NHItemList;

import cpw.mods.fml.common.Optional;
import forestry.api.recipes.RecipeManagers;
Expand All @@ -34,6 +35,7 @@
import gregtech.api.util.GTModHandler;
import gregtech.api.util.GTOreDictUnificator;
import gregtech.api.util.GTUtility;
import gtPlusPlus.core.block.ModBlocks;
import gtPlusPlus.core.item.chemistry.GenericChem;
import gtPlusPlus.core.material.MaterialsAlloy;
import gtPlusPlus.xmod.forestry.bees.items.FRItemRegistry;
Expand Down Expand Up @@ -94,6 +96,19 @@ public void loadRecipes() {
MaterialsAlloy.TUMBAGA.getPlate(1),
MaterialsAlloy.TUMBAGA.getRod(1));

// Fish Trap
addShapedRecipe(
new ItemStack(ModBlocks.blockFishTrap),
NHItemList.SteelBars.getIS(),
NHItemList.SteelBars.getIS(),
NHItemList.SteelBars.getIS(),
NHItemList.SteelBars.getIS(),
GTOreDictUnificator.get(OrePrefixes.frameGt, Materials.WroughtIron, 1),
NHItemList.SteelBars.getIS(),
NHItemList.SteelBars.getIS(),
NHItemList.SteelBars.getIS(),
NHItemList.SteelBars.getIS());

// Shirabon and Eternity
GTValues.RA.stdBuilder()
.itemInputs(
Expand Down

0 comments on commit 10ae3e7

Please sign in to comment.