diff options
Diffstat (limited to 'api/src/main/java')
| -rw-r--r-- | api/src/main/java/me/shedaniel/rei/api/client/ClientHelper.java | 9 |
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 d9f0eae23..55c481151 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 @@ -75,6 +75,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 |
