add outputs key to generic recipe unifier

This commit is contained in:
Relentless 2023-09-23 18:49:46 +02:00
parent 23e61f260a
commit 965c7a5f67
No known key found for this signature in database
GPG key ID: 50C5FD225130D790
2 changed files with 1 additions and 5 deletions

View file

@ -17,6 +17,7 @@ public class GenericRecipeUnifier implements RecipeUnifier {
); );
private static final Set<String> OUTPUT_KEYS = Set.of( private static final Set<String> OUTPUT_KEYS = Set.of(
RecipeConstants.OUTPUT, RecipeConstants.OUTPUT,
RecipeConstants.OUTPUTS,
RecipeConstants.RESULT, RecipeConstants.RESULT,
RecipeConstants.RESULTS, RecipeConstants.RESULTS,
RecipeConstants.OUTPUT_ITEMS RecipeConstants.OUTPUT_ITEMS

View file

@ -13,10 +13,5 @@ public class EnderIORecipeUnifier implements RecipeUnifier {
RecipeConstants.ITEM, RecipeConstants.ITEM,
(json, ctx) -> ctx.createResultReplacement(json, false, RecipeConstants.ITEM) (json, ctx) -> ctx.createResultReplacement(json, false, RecipeConstants.ITEM)
); );
// sag mill
builder.put(
RecipeConstants.OUTPUTS,
(json, ctx) -> ctx.createResultReplacement(json)
);
} }
} }