Skip to content

Commit

Permalink
change infusion based circuit recipes to use 3x infusion
Browse files Browse the repository at this point in the history
  • Loading branch information
thiakil committed Aug 17, 2024
1 parent 4650973 commit 5769ff9
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 32 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ private void addCircuitUpgradeRecipe(RecipeOutput consumer, IItemProvider output
private void addCircuitInfusionUpgrade(RecipeOutput consumer, IItemProvider output, TagKey<Item> circuitTag, TagKey<InfuseType> infusionType, int singleAlloyAmount, String basePath, String name) {
ItemStackChemicalToItemStackRecipeBuilder.metallurgicInfusing(
IngredientCreatorAccess.item().from(circuitTag),
IngredientCreatorAccess.infusionStack().from(infusionType, (int) (singleAlloyAmount * 1.5F)),
IngredientCreatorAccess.infusionStack().from(infusionType, singleAlloyAmount * 6), /* 3x 2 alloys */
output.getItemStack()
).build(consumer, Mekanism.rl(basePath + "infused_" + name));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,16 +51,11 @@ public void addRecipes(RecipeOutput consumer, HolderLookup.Provider registries)

private void addMetallurgicInfuserAlloyRecipes(RecipeOutput consumer, String basePath) {
//Infused
ItemStackChemicalToItemStackRecipeBuilder.metallurgicInfusing(
IngredientCreatorAccess.item().from(Tags.Items.INGOTS_IRON),
IngredientCreatorAccess.infusionStack().from(MekanismAPITags.InfuseTypes.REDSTONE, 10),
MekanismItems.INFUSED_ALLOY.getItemStack()
).build(consumer, Mekanism.rl(basePath + "infused"));
ItemStackChemicalToItemStackRecipeBuilder.metallurgicInfusing(
IngredientCreatorAccess.item().from(Tags.Items.INGOTS_COPPER),
IngredientCreatorAccess.infusionStack().from(MekanismAPITags.InfuseTypes.REDSTONE, 10),
MekanismItems.INFUSED_ALLOY.getItemStack()
).build(consumer, Mekanism.rl(basePath + "infused_copper"));
).build(consumer, Mekanism.rl(basePath + "infused"));
//Reinforced
ItemStackChemicalToItemStackRecipeBuilder.metallurgicInfusing(
IngredientCreatorAccess.item().from(MekanismTags.Items.ALLOYS_INFUSED),
Expand Down

0 comments on commit 5769ff9

Please sign in to comment.