Skip to content

Commit

Permalink
Merge remote-tracking branch 'EnderProyects/EFRRecipes' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Dream-Master committed Jan 22, 2025
2 parents f39f7f9 + 371c84b commit 77ab1ca
Showing 1 changed file with 68 additions and 0 deletions.
68 changes: 68 additions & 0 deletions src/main/java/com/dreammaster/scripts/ScriptEFR.java
Original file line number Diff line number Diff line change
@@ -1,20 +1,31 @@
package com.dreammaster.scripts;

import static gregtech.api.enums.Mods.AdventureBackpack;
import static gregtech.api.enums.Mods.AppliedEnergistics2;
import static gregtech.api.enums.Mods.DraconicEvolution;
import static gregtech.api.enums.Mods.EtFuturumRequiem;
import static gregtech.api.enums.Mods.ExtraUtilities;
import static gregtech.api.enums.Mods.HardcoreEnderExpansion;
import static gregtech.api.enums.Mods.Minecraft;
import static gregtech.api.enums.Mods.PamsHarvestCraft;
import static gregtech.api.enums.Mods.Thaumcraft;
import static gregtech.api.enums.Mods.TinkerConstruct;
import static gregtech.api.recipe.RecipeMaps.assemblerRecipes;
import static gregtech.api.recipe.RecipeMaps.compressorRecipes;
import static gregtech.api.recipe.RecipeMaps.fluidExtractionRecipes;
import static gregtech.api.util.GTModHandler.getModItem;
import static gregtech.api.util.GTRecipeBuilder.SECONDS;

import java.util.Arrays;
import java.util.List;

import net.minecraftforge.fluids.FluidRegistry;
import net.minecraftforge.fluids.FluidStack;

import com.dreammaster.recipes.CustomItem;

import gregtech.api.enums.GTValues;
import gregtech.api.enums.ItemList;
import gregtech.api.enums.Materials;
import gregtech.api.enums.OrePrefixes;
import gregtech.api.enums.TierEU;
Expand Down Expand Up @@ -96,15 +107,72 @@ public void loadRecipes() {
getModItem(Minecraft.ID, "stone", 1, 0, missing),
getModItem(EtFuturumRequiem.ID, "smooth_stone", 1, 0, missing));

GTModHandler.addSmeltingRecipe(
getModItem(Minecraft.ID, "quartz_block", 1, 0, missing),
getModItem(EtFuturumRequiem.ID, "smooth_quartz", 1, 0, missing));

GTModHandler.addCraftingRecipe(
getModItem(EtFuturumRequiem.ID, "blast_furnace", 1, 0, missing),
bits,
new Object[] { "PPP", "PFP", "SSS", 'S', getModItem(EtFuturumRequiem.ID, "smooth_stone", 1, 0, missing),
'F', getModItem(Minecraft.ID, "furnace", 1, 0, missing), 'P', "plateIron" });

GTModHandler.addCraftingRecipe(
getModItem(Minecraft.ID, "leather", 1, 0, missing),
bits,
new Object[] { "SSS", "HHH", "SSS", 'S', getModItem(Minecraft.ID, "string", 1, 0, missing), 'H',
getModItem(EtFuturumRequiem.ID, "rabbit_hide", 1, 0, missing) });
GTModHandler.addCraftingRecipe(
getModItem(EtFuturumRequiem.ID, "soul_lantern", 1, 0, missing),
bits,
new Object[] { "IGI", "PCP", "III", 'I', "plateIron", 'G', "dustInfusedWater", 'P',
"paneGlassColorless", 'C', getModItem(EtFuturumRequiem.ID, "soul_torch", 1, 0, missing) });

GTModHandler.addCraftingRecipe(
getModItem(EtFuturumRequiem.ID, "target", 1, 0, missing),
bits,
new Object[] { "WTR", "CHD", "RTW", 'W', "blockWoolWhite", 'R', "blockWoolRed", 'T', "dustRedstone",
'C', GTModHandler.getModItem(Minecraft.ID, "comparator", 1, 0), 'H',
GTModHandler.getModItem(Minecraft.ID, "hay_block", 1, 0), 'D',
GTModHandler.getModItem(ExtraUtilities.ID, "budoff", 1, 0) });

GTModHandler.addCraftingRecipe(
getModItem(EtFuturumRequiem.ID, "smoker", 1, 0, missing),
bits,
new Object[] { "PhP", "PFP", "SCS", 'P', "plateIron", 'F',
getModItem(Minecraft.ID, "furnace", 1, 0, missing), 'S',
getModItem(EtFuturumRequiem.ID, "smooth_stone", 1, 0, missing), 'C',
getModItem(AdventureBackpack.ID, "blockCampFire", 1, 0, missing) });

GTModHandler.addCraftingRecipe(
getModItem(EtFuturumRequiem.ID, "end_crystal", 1, 0, missing),
bits,
new Object[] { "VGV", "VSV", "VQV", 'V',
getModItem(AppliedEnergistics2.ID, "tile.BlockQuartzLamp", 1, 0, missing), 'G',
getModItem(HardcoreEnderExpansion.ID, "living_matter", 1, 0, missing),
// 'S', ItemList.QuantumStar.get(1),
'S', getModItem(DraconicEvolution.ID, "wyvernCore", 1, 0, missing), 'Q',
ItemList.QuantumEye.get(1), });

GTModHandler.addCraftingRecipe(
getModItem(EtFuturumRequiem.ID, "smithing_table", 1, 0, missing),
bits,
new Object[] { "TT ", "GG ", "GG ", 'T',
GTModHandler.getModItem(TinkerConstruct.ID, "CraftingSlab", 1, 5), 'G',
GTModHandler.getModItem(Thaumcraft.ID, "blockWoodenDevice", 1, 6), });

GTValues.RA.stdBuilder().itemInputs(getModItem(Minecraft.ID, "magma_cream", 3, 0, missing))
.fluidInputs(new FluidStack(FluidRegistry.getFluid("lava"), 6000))
.itemOutputs(getModItem(EtFuturumRequiem.ID, "magma", 1, 0, missing)).duration(8 * SECONDS).eut(2)
.addTo(compressorRecipes);

GTValues.RA.stdBuilder().itemInputs(getModItem(Minecraft.ID, "dye", 9, 15, missing))
.itemOutputs(getModItem(EtFuturumRequiem.ID, "bone", 1, 0, missing)).duration(8 * SECONDS).eut(2)
.addTo(compressorRecipes);

GTValues.RA.stdBuilder().itemInputs(getModItem(EtFuturumRequiem.ID, "magma", 1, 0, missing))
.itemOutputs(getModItem(Minecraft.ID, "magma_cream", 3, 0, missing))
.fluidOutputs(new FluidStack(FluidRegistry.getFluid("lava"), 6000)).duration(10 * SECONDS).eut(48)
.addTo(fluidExtractionRecipes);
}
}

0 comments on commit 77ab1ca

Please sign in to comment.