From 72e1653cbb38282f8dce59a00fb381e18bfc795d Mon Sep 17 00:00:00 2001 From: Unknown Date: Tue, 8 Jan 2019 18:23:00 +0800 Subject: Craftable Only WIP --- src/main/java/me/shedaniel/plugin/potion/VanillaPotionRecipe.java | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/main/java/me/shedaniel/plugin/potion/VanillaPotionRecipe.java') 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 { return input; } + @Override + public List> getRecipeRequiredInput() { + List> input = new LinkedList<>(); + input.add(new ArrayList<>(Arrays.asList(this.input))); + input.add(new ArrayList<>(Arrays.asList(this.reactWith))); + return input; + } + public List getOutput(int slot) { List stack = new ArrayList<>(); for(int i = 0; i < slot * 2; i++) -- cgit