diff options
| author | Unknown <shekwancheung0528@gmail.com> | 2019-05-22 21:30:38 +0800 |
|---|---|---|
| committer | Unknown <shekwancheung0528@gmail.com> | 2019-05-22 21:30:38 +0800 |
| commit | 4ea8402014b3878bc94ae977cdace1ab7c497e5f (patch) | |
| tree | 94aaff3b96956b17768c82690d956523fac7125d /src/main/java/me/shedaniel/rei/plugin/DefaultBlastingDisplay.java | |
| parent | f7128cb247d827057b8fa63b954976fabb169091 (diff) | |
| download | RoughlyEnoughItems-4ea8402014b3878bc94ae977cdace1ab7c497e5f.tar.gz RoughlyEnoughItems-4ea8402014b3878bc94ae977cdace1ab7c497e5f.tar.bz2 RoughlyEnoughItems-4ea8402014b3878bc94ae977cdace1ab7c497e5f.zip | |
2.9.1
Diffstat (limited to 'src/main/java/me/shedaniel/rei/plugin/DefaultBlastingDisplay.java')
| -rw-r--r-- | src/main/java/me/shedaniel/rei/plugin/DefaultBlastingDisplay.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/me/shedaniel/rei/plugin/DefaultBlastingDisplay.java b/src/main/java/me/shedaniel/rei/plugin/DefaultBlastingDisplay.java index 4b88d9e7e..3adab1d6f 100644 --- a/src/main/java/me/shedaniel/rei/plugin/DefaultBlastingDisplay.java +++ b/src/main/java/me/shedaniel/rei/plugin/DefaultBlastingDisplay.java @@ -5,7 +5,6 @@ package me.shedaniel.rei.plugin; -import com.google.common.collect.Lists; import me.shedaniel.rei.api.RecipeDisplay; import net.minecraft.block.entity.FurnaceBlockEntity; import net.minecraft.item.Item; @@ -13,6 +12,7 @@ import net.minecraft.item.ItemStack; import net.minecraft.recipe.BlastingRecipe; import net.minecraft.util.Identifier; +import java.util.Arrays; import java.util.Collections; import java.util.List; import java.util.Optional; @@ -26,8 +26,8 @@ public class DefaultBlastingDisplay implements RecipeDisplay<BlastingRecipe> { public DefaultBlastingDisplay(BlastingRecipe recipe) { this.display = recipe; - this.input = Lists.newArrayList(recipe.getPreviewInputs().stream().map(i -> Lists.newArrayList(i.getStackArray())).collect(Collectors.toList())); - input.add(FurnaceBlockEntity.createFuelTimeMap().keySet().stream().map(Item::getDefaultStack).collect(Collectors.toList())); + this.input = recipe.getPreviewInputs().stream().map(i -> Arrays.asList(i.getStackArray())).collect(Collectors.toList()); + this.input.add(FurnaceBlockEntity.createFuelTimeMap().keySet().stream().map(Item::getDefaultStack).collect(Collectors.toList())); this.output = Collections.singletonList(recipe.getOutput()); } |
