aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/shedaniel/rei/api/SpeedCraftFunctional.java
diff options
context:
space:
mode:
authorUnknown <shekwancheung0528@gmail.com>2019-01-17 22:19:57 +0800
committerUnknown <shekwancheung0528@gmail.com>2019-01-17 22:19:57 +0800
commit787d880828aed3aea46b61f0f5ebba44d1e33007 (patch)
tree634656ecc76abf07e3cf892a90ea86fbd692543e /src/main/java/me/shedaniel/rei/api/SpeedCraftFunctional.java
parent17cbe448116391d19f50690708f48505bbe326fa (diff)
downloadRoughlyEnoughItems-787d880828aed3aea46b61f0f5ebba44d1e33007.tar.gz
RoughlyEnoughItems-787d880828aed3aea46b61f0f5ebba44d1e33007.tar.bz2
RoughlyEnoughItems-787d880828aed3aea46b61f0f5ebba44d1e33007.zip
API Change
Diffstat (limited to 'src/main/java/me/shedaniel/rei/api/SpeedCraftFunctional.java')
-rw-r--r--src/main/java/me/shedaniel/rei/api/SpeedCraftFunctional.java14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/main/java/me/shedaniel/rei/api/SpeedCraftFunctional.java b/src/main/java/me/shedaniel/rei/api/SpeedCraftFunctional.java
new file mode 100644
index 000000000..6dd998d47
--- /dev/null
+++ b/src/main/java/me/shedaniel/rei/api/SpeedCraftFunctional.java
@@ -0,0 +1,14 @@
+package me.shedaniel.rei.api;
+
+import me.shedaniel.rei.plugin.DefaultCraftingDisplay;
+import net.minecraft.client.gui.Gui;
+
+public interface SpeedCraftFunctional<T extends IRecipeDisplay> {
+
+ public Class[] getFunctioningFor();
+
+ public boolean performAutoCraft(Gui gui, T recipe);
+
+ public boolean acceptRecipe(Gui gui, T recipe);
+
+}