FIx REI Compat for 1.15 snapshots (#1888)
This commit is contained in:
parent
f9b9279500
commit
16fe02f359
4 changed files with 62 additions and 69 deletions
|
@ -49,7 +49,7 @@ public class MachineRecipeDisplay<R extends RebornRecipe> implements RecipeDispl
|
|||
public MachineRecipeDisplay(R recipe) {
|
||||
this.recipe = recipe;
|
||||
this.inputs = CollectionUtils.map(recipe.getRebornIngredients(), ing -> CollectionUtils.map(ing.getPreviewStacks(), EntryStack::create));
|
||||
this.outputs = CollectionUtils.map(recipe.getOutputs(), stack -> EntryStack.create(stack));
|
||||
this.outputs = CollectionUtils.map(recipe.getOutputs(), EntryStack::create);
|
||||
this.energy = recipe.getPower();
|
||||
if (recipe instanceof BlastFurnaceRecipe) {
|
||||
this.heat = ((BlastFurnaceRecipe) recipe).getHeat();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue