aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/shedaniel/plugin/potion/VanillaPotionRecipe.java
diff options
context:
space:
mode:
authorUnknown <shekwancheung0528@gmail.com>2019-01-08 18:23:00 +0800
committerUnknown <shekwancheung0528@gmail.com>2019-01-08 18:23:00 +0800
commit72e1653cbb38282f8dce59a00fb381e18bfc795d (patch)
tree468a1d03c3a7295b43f28e71b84856a512e72b3f /src/main/java/me/shedaniel/plugin/potion/VanillaPotionRecipe.java
parent6d5101aad169bc5d4d8bcd638aee0d4ce71c120a (diff)
downloadRoughlyEnoughItems-72e1653cbb38282f8dce59a00fb381e18bfc795d.tar.gz
RoughlyEnoughItems-72e1653cbb38282f8dce59a00fb381e18bfc795d.tar.bz2
RoughlyEnoughItems-72e1653cbb38282f8dce59a00fb381e18bfc795d.zip
Craftable Only WIP
Diffstat (limited to 'src/main/java/me/shedaniel/plugin/potion/VanillaPotionRecipe.java')
-rwxr-xr-xsrc/main/java/me/shedaniel/plugin/potion/VanillaPotionRecipe.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main/java/me/shedaniel/plugin/potion/VanillaPotionRecipe.java b/src/main/java/me/shedaniel/plugin/potion/VanillaPotionRecipe.java
index e7343d449..eb482d8d3 100755
--- a/src/main/java/me/shedaniel/plugin/potion/VanillaPotionRecipe.java
+++ b/src/main/java/me/shedaniel/plugin/potion/VanillaPotionRecipe.java
@@ -37,6 +37,14 @@ public class VanillaPotionRecipe implements IRecipe<ItemStack> {
return input;
}
+ @Override
+ public List<List<ItemStack>> getRecipeRequiredInput() {
+ List<List<ItemStack>> input = new LinkedList<>();
+ input.add(new ArrayList<>(Arrays.asList(this.input)));
+ input.add(new ArrayList<>(Arrays.asList(this.reactWith)));
+ return input;
+ }
+
public List<ItemStack> getOutput(int slot) {
List<ItemStack> stack = new ArrayList<>();
for(int i = 0; i < slot * 2; i++)