Skip to content

Commit 01b652a

Browse files
authored
Add assembler recipe for chocolate coin (GregTechCEu#2858)
1 parent 9e66554 commit 01b652a

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

src/main/java/com/gregtechceu/gtceu/data/recipe/misc/CraftingRecipeLoader.java

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
import static com.gregtechceu.gtceu.api.data.tag.TagPrefix.*;
2323
import static com.gregtechceu.gtceu.common.data.GTItems.*;
2424
import static com.gregtechceu.gtceu.common.data.GTMaterials.*;
25+
import static com.gregtechceu.gtceu.common.data.GTRecipeTypes.ASSEMBLER_RECIPES;
2526

2627
public class CraftingRecipeLoader {
2728

@@ -235,10 +236,18 @@ public static void init(Consumer<FinishedRecipe> provider) {
235236
///////////////////////////////////////////////////
236237
// Credits //
237238
///////////////////////////////////////////////////
238-
VanillaRecipeHelper.addShapelessRecipe(provider, "coin_chocolate", COIN_CHOCOLATE.asStack(),
239+
VanillaRecipeHelper.addShapelessRecipe(provider, "chocolate_coin", COIN_CHOCOLATE.asStack(),
239240
new UnificationEntry(dust, Cocoa), new UnificationEntry(foil, Gold),
240241
new FluidContainerIngredient(Milk.getFluidTag(), 1000),
241242
new UnificationEntry(dust, Sugar));
243+
ASSEMBLER_RECIPES.recipeBuilder("chocolate_coin")
244+
.inputItems(dust, Cocoa)
245+
.inputItems(foil, Gold)
246+
.inputItems(dust, Sugar)
247+
.inputFluids(Milk.getFluid(500))
248+
.outputItems(COIN_CHOCOLATE)
249+
.duration(60).EUt(15)
250+
.save(provider);
242251
VanillaRecipeHelper.addShapelessRecipe(provider, "credit_copper", CREDIT_COPPER.asStack(8),
243252
CREDIT_CUPRONICKEL.asStack());
244253
VanillaRecipeHelper.addShapelessRecipe(provider, "credit_cupronickel_alt", CREDIT_CUPRONICKEL.asStack(),

0 commit comments

Comments
 (0)