Skip to content

Commit

Permalink
use unifictaion in recipe
Browse files Browse the repository at this point in the history
(cherry picked from commit 3fc7ac8)
  • Loading branch information
Dream-Master committed Sep 2, 2024
1 parent 0800abd commit 468c2a7
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import static gregtech.api.enums.Mods.EtFuturumRequiem;
import static gregtech.api.enums.Mods.GTPlusPlus;
import static gregtech.api.enums.Mods.GregTech;
import static gregtech.api.enums.Mods.Minecraft;
import static gregtech.api.recipe.RecipeMaps.cutterRecipes;
import static gregtech.api.util.GT_ModHandler.getModItem;
Expand All @@ -18,6 +17,8 @@

import gregtech.api.enums.GT_Values;
import gregtech.api.enums.Materials;
import gregtech.api.enums.OrePrefixes;
import gregtech.api.util.GT_OreDictUnificator;

public class ScriptEtFuturumRequiem implements IScriptLoader {

Expand Down Expand Up @@ -167,13 +168,13 @@ protected void addPlankRecipes(ItemStack result, ItemStack ingredient) {

ItemStack outputCutterLubricant = result.copy();
outputCutterLubricant.stackSize = 6;
ItemStack sawdustCutterLubricant = getModItem(GregTech.ID, "gt.metaitem.01", 1, 2809);
ItemStack sawdustCutterLubricant = GT_OreDictUnificator.get(OrePrefixes.dust, Materials.Wood, 1L);
GT_Values.RA.stdBuilder().itemInputs(ingredient).itemOutputs(outputCutterLubricant, sawdustCutterLubricant)
.fluidInputs(getFluidStack("lubricant", 1)).duration(10 * SECONDS).eut(7).addTo(cutterRecipes);

ItemStack outputCutterWater = result.copy();
outputCutterWater.stackSize = 4;
ItemStack sawdustCutterWater = getModItem(GregTech.ID, "gt.metaitem.01", 2, 2809);
ItemStack sawdustCutterWater = GT_OreDictUnificator.get(OrePrefixes.dust, Materials.Wood, 2L);
GT_Values.RA.stdBuilder().itemInputs(ingredient).itemOutputs(outputCutterWater, sawdustCutterWater)
.fluidInputs(getFluidStack("ic2distilledwater", 3)).duration(20 * SECONDS).eut(7).addTo(cutterRecipes);

Expand Down

0 comments on commit 468c2a7

Please sign in to comment.