aboutsummaryrefslogtreecommitdiff
path: root/api/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'api/src/main/java')
-rw-r--r--api/src/main/java/me/shedaniel/rei/api/client/ClientHelper.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/api/src/main/java/me/shedaniel/rei/api/client/ClientHelper.java b/api/src/main/java/me/shedaniel/rei/api/client/ClientHelper.java
index 706a5c7eb..88808268a 100644
--- a/api/src/main/java/me/shedaniel/rei/api/client/ClientHelper.java
+++ b/api/src/main/java/me/shedaniel/rei/api/client/ClientHelper.java
@@ -74,6 +74,15 @@ public interface ClientHelper {
boolean tryCheatingEntry(EntryStack<?> stack);
/**
+ * Tries to cheat stack into the given slot.
+ *
+ * @param stack the stack to cheat in
+ * @param hotbarSlotId the hotbar slot id
+ * @return whether it failed
+ */
+ boolean tryCheatingEntryTo(EntryStack<?> stack, int hotbarSlotId);
+
+ /**
* Gets the mod from an item
*
* @param item the item to find