fix GregTech Modern output ingredients not being unified

This commit is contained in:
rlnt 2023-11-14 18:59:50 +01:00
parent eba5be3090
commit d40cabbe81
No known key found for this signature in database

View file

@ -29,7 +29,19 @@ public class GregTechModernRecipeUnifier implements RecipeUnifier {
RecipeConstants.OUTPUTS,
RecipeConstants.TICK_OUTPUTS
).forEach(key ->
builder.put(key, (json, ctx) -> createContentReplacement(json, ctx, ctx::createResultReplacement))
builder.put(
key,
(json, ctx) -> createContentReplacement(
json,
ctx,
element -> ctx.createResultReplacement(
element,
true,
RecipeConstants.ITEM,
RecipeConstants.INGREDIENT
)
)
)
);
}