diff options
| author | shedaniel <daniel@shedaniel.me> | 2022-06-17 00:10:57 +0800 |
|---|---|---|
| committer | shedaniel <daniel@shedaniel.me> | 2022-06-28 03:21:12 +0800 |
| commit | db456ff7f6d10692d6579c7193f172bad7c65b12 (patch) | |
| tree | 29204b5588b8d1678a0b216566de26846eea2b9f /api/src/main | |
| parent | 90ef94bb9d5cf482c824ee53aa6133939d8de670 (diff) | |
| download | RoughlyEnoughItems-db456ff7f6d10692d6579c7193f172bad7c65b12.tar.gz RoughlyEnoughItems-db456ff7f6d10692d6579c7193f172bad7c65b12.tar.bz2 RoughlyEnoughItems-db456ff7f6d10692d6579c7193f172bad7c65b12.zip | |
Add hotbar quick cheat + fix stacked cheating
Diffstat (limited to 'api/src/main')
| -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 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 |
