From 787d880828aed3aea46b61f0f5ebba44d1e33007 Mon Sep 17 00:00:00 2001 From: Unknown Date: Thu, 17 Jan 2019 22:19:57 +0800 Subject: API Change --- .../java/me/shedaniel/rei/api/SpeedCraftFunctional.java | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/main/java/me/shedaniel/rei/api/SpeedCraftFunctional.java (limited to 'src/main/java/me/shedaniel/rei/api/SpeedCraftFunctional.java') 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 { + + public Class[] getFunctioningFor(); + + public boolean performAutoCraft(Gui gui, T recipe); + + public boolean acceptRecipe(Gui gui, T recipe); + +} -- cgit