From a941f3bbe27e8b910610bb2900e9d93d31796180 Mon Sep 17 00:00:00 2001 From: Djeeberjr Date: Sun, 11 Aug 2024 22:05:52 +0200 Subject: [PATCH] added getItemLimit to ItemStorage --- src/cc/periphs/ItemStorage.hx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cc/periphs/ItemStorage.hx b/src/cc/periphs/ItemStorage.hx index a0ef116..a875760 100644 --- a/src/cc/periphs/ItemStorage.hx +++ b/src/cc/periphs/ItemStorage.hx @@ -20,4 +20,5 @@ extern class ItemStorage { public function getItemDetail(slot:Int):DetailedItemInfo; // Get detailed information about an item. public function pushItems(toName:String, fromSlot:Int, ?limit:Int, ?toSlot:Int):Int; // Push items from one inventory to another connected one. public function pullItems(fromName:String, fromSlot:Int, ?limit:Int, ?toSlot:Int):Int; // Pull items from a connected inventory into this one. + public function getItemLimit(slot: Int):Int; // Get the maximum number of items which can be stored in this slot. }