diff options
| author | Unknown <shekwancheung0528@gmail.com> | 2019-01-08 18:23:00 +0800 |
|---|---|---|
| committer | Unknown <shekwancheung0528@gmail.com> | 2019-01-08 18:23:00 +0800 |
| commit | 72e1653cbb38282f8dce59a00fb381e18bfc795d (patch) | |
| tree | 468a1d03c3a7295b43f28e71b84856a512e72b3f /src/main/java/me/shedaniel/plugin/potion | |
| parent | 6d5101aad169bc5d4d8bcd638aee0d4ce71c120a (diff) | |
| download | RoughlyEnoughItems-72e1653cbb38282f8dce59a00fb381e18bfc795d.tar.gz RoughlyEnoughItems-72e1653cbb38282f8dce59a00fb381e18bfc795d.tar.bz2 RoughlyEnoughItems-72e1653cbb38282f8dce59a00fb381e18bfc795d.zip | |
Craftable Only WIP
Diffstat (limited to 'src/main/java/me/shedaniel/plugin/potion')
| -rwxr-xr-x | src/main/java/me/shedaniel/plugin/potion/VanillaPotionRecipe.java | 8 |
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++) |
